---
title: ash.custom.stop
description: An Ash custom span finished. Honeybadger records this when :custom is included in trace_types. The default trace_types are [:custom, :action].
url: https://docs.honeybadger.io/insights/event-types/elixir/ash.custom.stop/
---

An Ash custom span finished. Honeybadger records this when :custom is included in trace\_types. The default trace\_types are \[:custom, :action].

Source **Ash** Category **Database** Fields **11** [honeybadger-elixir](https://docs.honeybadger.io/lib/elixir/)

## Fields

| Field            | Type   | Description                                                    |
| ---------------- | ------ | -------------------------------------------------------------- |
| `event_type`     | string | Allowed value: `ash.custom.stop`.                              |
| `span_id`        | string | Unique ID for this span, for correlating nested spans.         |
| `name`           | string | Span name, typically the action or operation name.             |
| `parent_span_id` | string | ID of the parent span, enabling operation tree reconstruction. |
| `duration`       | number | Span duration in microseconds.                                 |
| `metadata`       | object | Additional metadata set via set\_metadata/2.                   |
| `metadata.*`     | any    | Additional caller-defined keys.                                |
| `error`          | object | Present when the span records an error with set\_error/2.      |
| `error.class`    | string | Exception module name.                                         |
| `error.message`  | string | Exception message.                                             |
| `request_id`     | string | Request ID from the current EventContext.                      |

## Example

```json
{
  "event_type": "ash.custom.stop",
  "span_id": "e1f3a5c7d9b2486e0a2c4f6b8d105397",
  "name": "sync_external_accounts",
  "parent_span_id": "a7c3e9f1b5d2480c9e6a1f3b7d5c2e80",
  "duration": 32000,
  "metadata": {
    "source": "crm",
    "batch_size": 100
  },
  "request_id": "F8ZBOg1zcBQDqDgAAADx"
}
```

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
