Skip to content

ash.query.stop

View Markdown

An Ash query span finished. Honeybadger records this when :query is included in trace_types.

Source Ash Category Database Fields 11 honeybadger-elixir

Fields

11
FieldTypeDescription
event_typestringAllowed value: ash.query.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.query.stop",
"span_id": "c2e4a6f8b0d1395c7e9a1b3d5f70c284",
"name": "accounts:user.read",
"parent_span_id": "a7c3e9f1b5d2480c9e6a1f3b7d5c2e80",
"duration": 4200,
"metadata": {
"resource_short_name": "user",
"action": "read"
},
"request_id": "F8ZBOg1zcBQDqDgAAADx"
}