Skip to content

ash.custom.stop

View Markdown

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

Fields

11
FieldTypeDescription
event_typestringAllowed value: ash.custom.stop.
span_idstringUnique ID for this span, for correlating nested spans.
namestringSpan name, typically the action or operation name.
parent_span_idstringID of the parent span, enabling operation tree reconstruction.
durationnumberSpan duration in microseconds.
metadataobjectAdditional metadata set via set_metadata/2.
metadata.*anyAdditional caller-defined keys.
errorobjectPresent when the span records an error with set_error/2.
error.classstringException module name.
error.messagestringException message.
request_idstringRequest ID from the current EventContext.

Example

{
"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"
}