Elixir event reference
honeybadger-elixir.Absinthe
absinthe.execute.operation.exception
An Absinthe GraphQL operation raised an exception. Uses the same fields as absinthe.execute.operation.stop.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: absinthe.execute.operation.exception. |
operation_name | string | Named operation from the GraphQL query, if present. |
operation_type | string | Operation type: "query", "mutation", or "subscription". |
selections | array<string> | Top-level field names selected in the operation. |
schema | string | Absinthe schema module name. |
errors | array<object> | GraphQL errors returned in the result, if any. |
duration | number | Duration in microseconds before the exception was raised. |
request_id | string | Request ID from the current EventContext. |
Example
{ "event_type": "absinthe.execute.operation.exception", "operation_name": "CreateUser", "operation_type": "mutation", "selections": [ "createUser" ], "schema": "Elixir.MyAppWeb.Schema", "errors": [ { "message": "An unexpected error occurred", "path": [ "createUser" ] } ], "duration": 12000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}absinthe.execute.operation.stop
An Absinthe GraphQL operation finished.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: absinthe.execute.operation.stop. |
operation_name | string | Named operation from the GraphQL query, if present. |
operation_type | string | Operation type: "query", "mutation", or "subscription". |
selections | array<string> | Top-level field names selected in the operation. |
schema | string | Absinthe schema module name. |
errors | array<object> | GraphQL errors returned in the result, if any. |
duration | number | Operation execution duration in microseconds. |
request_id | string | Request ID from the current EventContext. |
Example
{ "event_type": "absinthe.execute.operation.stop", "operation_name": "GetUser", "operation_type": "query", "selections": [ "user" ], "schema": "Elixir.MyAppWeb.Schema", "duration": 25000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}absinthe.resolve.field.stop
An Absinthe field resolver finished. Enable this in insights_config telemetry_events. This can create a lot of events.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: absinthe.resolve.field.stop. |
field_name | string | The field being resolved. |
parent_type | string | The parent type containing the field. |
state | string | Resolution state, e.g. "resolved", "unresolved". |
duration | number | Field resolution duration in microseconds. |
request_id | string | Request ID from the current EventContext. |
Example
{ "event_type": "absinthe.resolve.field.stop", "field_name": "user", "parent_type": "RootQueryType", "state": "resolved", "duration": 1800, "request_id": "F8ZBOg1zcBQDqDgAAADx"}Ash
ash.action.stop
An Ash action span finished. Honeybadger records this when :action is included in trace_types. The default trace_types are [:custom, :action].
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: ash.action.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
{ "event_type": "ash.action.stop", "span_id": "a7c3e9f1b5d2480c9e6a1f3b7d5c2e80", "name": "accounts:user.create", "parent_span_id": "4f8b2d6c0a1e3957b8d4f6a2c0e91b37", "duration": 18500, "metadata": { "resource_short_name": "user", "action": "create" }, "request_id": "F8ZBOg1zcBQDqDgAAADx"}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].
| 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
{ "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"}ash.query.stop
An Ash query span finished. Honeybadger records this when :query is included in trace_types.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: ash.query.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
{ "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"}Ecto
ecto.query
An Ecto repository ran a database query. The event_type comes from the repo telemetry_prefix, so [:my_app, :repo, :query] becomes "my_app.repo.query". Honeybadger skips transaction bookkeeping, schema migrations, and Oban job table queries by default.
| Field | Type | Description |
|---|---|---|
event_type | string | |
query | string | Obfuscated SQL with bind parameters replaced by ?. |
source | string | Table/source name the query targets. |
query_time | number | Time spent executing the query in microseconds. |
decode_time | number | Time spent decoding the result in microseconds. |
queue_time | number | Time spent waiting for a database connection in microseconds. |
total_time | number | Total time including queue, query, and decode in microseconds. |
stacktrace | array<array<string>> | Formatted call stack at query time. Present when include_stacktrace is true and the repo has stacktrace enabled. |
params | array<any> | Query parameters. Present when include_params is true. |
request_id | string | Request ID from the current EventContext. |
idle_time | number | Time the connection spent idle before the query in microseconds. |
Example
{ "event_type": "my_app.repo.query", "query": "SELECT u0.\"id\", u0.\"email\", u0.\"name\" FROM \"users\" AS u0 WHERE (u0.\"id\" = $?)", "source": "users", "query_time": 3200, "decode_time": 180, "queue_time": 45, "total_time": 3425, "stacktrace": [ [ "lib/my_app/accounts.ex:27", "MyApp.Accounts.get_user!/1" ], [ "lib/my_app_web/controllers/user_controller.ex:14", "MyAppWeb.UserController.show/2" ] ], "params": [ 42 ], "request_id": "F8ZBOg1zcBQDqDgAAADx", "idle_time": 120000}Finch
finch.request.stop
A Finch HTTP request finished. By default, Honeybadger stores only the hostname. Enable full_url in insights_config to include the path.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: finch.request.stop. |
name | string | Finch pool name. |
method | string | HTTP method, e.g. "GET", "POST". |
host | string | Destination hostname. |
url | string | Full URL without query params. Present when full_url is true. |
status | integer | HTTP response status code. Present on successful (non-streaming) responses. |
streaming | boolean | True for streaming requests where no status code is available. |
error | string | Error message if the request failed. |
duration | number | Request round-trip duration in microseconds. |
request_id | string | Request ID from the current EventContext. |
Example
{ "event_type": "finch.request.stop", "name": "Elixir.MyApp.Finch", "method": "GET", "host": "api.example.com", "url": "https://api.example.com/v1/users", "status": 200, "streaming": false, "duration": 85000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}Oban
oban.job.exception
An Oban job raised an exception or exited. Uses the same fields as oban.job.stop.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: oban.job.exception. |
id | integer | Oban job database ID. |
worker | string | Worker module name. |
queue | string | Queue the job ran on. |
state | string | Final job state, e.g. "failure", "discard". |
attempt | integer | Attempt number (1-based). |
prefix | string | Oban database prefix (schema). |
tags | array<string> | Tags assigned to the job. |
args | object | Job arguments map. |
args.* | any | Additional caller-defined keys. |
duration | number | Job execution duration in microseconds. |
request_id | string | Request ID propagated from the originating request or generated for background jobs. |
Example
{ "event_type": "oban.job.exception", "id": 123457, "worker": "MyApp.Workers.WelcomeEmail", "queue": "default", "state": "failure", "attempt": 2, "prefix": "public", "tags": [ "mailer" ], "args": { "user_id": 42 }, "duration": 125000, "request_id": "f2a9c81d4e6b3a7f0c5d9e2b8a4f6c1d"}oban.job.stop
An Oban job finished without an error.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: oban.job.stop. |
id | integer | Oban job database ID. |
worker | string | Worker module name. |
queue | string | Queue the job ran on. |
state | string | Final job state, e.g. "success", "cancelled", "discard". |
attempt | integer | Attempt number (1-based). |
prefix | string | Oban database prefix (schema). |
tags | array<string> | Tags assigned to the job. |
args | object | Job arguments map. |
args.* | any | Additional caller-defined keys. |
duration | number | Job execution duration in microseconds. |
request_id | string | Request ID propagated from the originating request via Oban job metadata, or a newly generated ID for background jobs. |
Example
{ "event_type": "oban.job.stop", "id": 123456, "worker": "MyApp.Workers.WelcomeEmail", "queue": "default", "state": "success", "attempt": 1, "prefix": "public", "tags": [ "mailer" ], "args": { "user_id": 42 }, "duration": 350000, "request_id": "f2a9c81d4e6b3a7f0c5d9e2b8a4f6c1d"}Phoenix
phoenix.endpoint.stop
A Phoenix or Plug request finished. Honeybadger records this from the Plug.Telemetry :stop event.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.endpoint.stop. |
method | string | HTTP method, e.g. "GET", "POST". |
request_path | string | Request path, e.g. "/users/42". |
status | integer | HTTP response status code. |
params | object | Request params map. |
params.* | any | Additional caller-defined keys. |
route_type | string | How the request was routed. Allowed values: controller, live, unknown. |
controller | string | Phoenix controller module name. Present when route_type is "controller". |
action | string | Controller action name. Present when route_type is "controller". |
live_view | string | LiveView module name. Present when route_type is "live". |
live_action | string | LiveView action atom. Present when route_type is "live". |
format | string | Response format, e.g. "html", "json". |
view | string | Phoenix view module name. |
template | string | Template rendered. |
duration | number | Total request duration in microseconds. |
request_id | string | Request ID set from the x-request-id response header or assigns. Present on all events fired within a request context. |
Example
{ "event_type": "phoenix.endpoint.stop", "method": "GET", "request_path": "/users/42", "status": 200, "params": { "id": "42" }, "route_type": "controller", "controller": "MyAppWeb.UserController", "action": "show", "live_view": "MyAppWeb.UserLive.Show", "live_action": "show", "format": "html", "view": "MyAppWeb.UserHTML", "template": "show.html", "duration": 150000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}Phoenix LiveView
phoenix.live_component.handle_event.stop
A Phoenix LiveComponent handled a client event.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.live_component.handle_event.stop. |
url | string | URL of the LiveView at the time of the event. |
socket_id | string | LiveView socket ID. |
view | string | LiveView module name. |
component | string | LiveComponent module name, if applicable. |
assigns | object | Socket assigns at the time of the event. |
assigns.* | any | Additional caller-defined keys. |
params | object | Params passed to the event handler. |
params.* | any | Additional caller-defined keys. |
event | string | Event name for handle_event events. |
duration | number | Duration in microseconds. |
request_id | string | Request ID generated at LiveView mount and shared by events on the same socket. |
Example
{ "event_type": "phoenix.live_component.handle_event.stop", "url": "https://www.example.com/users/42/edit", "socket_id": "phx-F8ZBOg1zcBQDqDgAAACB", "view": "MyAppWeb.UserLive.Show", "component": "MyAppWeb.UserLive.FormComponent", "assigns": { "page_title": "Edit user", "current_user_id": 42 }, "params": { "user": { "name": "Jane Doe" } }, "event": "validate", "duration": 15000, "request_id": "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"}phoenix.live_component.update.stop
A Phoenix LiveComponent updated.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.live_component.update.stop. |
url | string | URL of the LiveView at the time of the event. |
socket_id | string | LiveView socket ID. |
view | string | LiveView module name. |
component | string | LiveComponent module name, if applicable. |
assigns | object | Socket assigns at the time of the event. |
assigns.* | any | Additional caller-defined keys. |
params | object | Params passed to the event handler. |
params.* | any | Additional caller-defined keys. |
event | string | Event name for handle_event events. |
duration | number | Duration in microseconds. |
request_id | string | Request ID generated at LiveView mount and shared by events on the same socket. |
Example
{ "event_type": "phoenix.live_component.update.stop", "url": "https://www.example.com/users/42/edit", "socket_id": "phx-F8ZBOg1zcBQDqDgAAACB", "view": "MyAppWeb.UserLive.Show", "component": "MyAppWeb.UserLive.FormComponent", "assigns": { "page_title": "Edit user", "current_user_id": 42 }, "params": { "id": "42" }, "duration": 8500, "request_id": "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"}phoenix.live_view.handle_event.stop
A Phoenix LiveView handled a client event such as phx-click.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.live_view.handle_event.stop. |
url | string | URL of the LiveView at the time of the event. |
socket_id | string | LiveView socket ID. |
view | string | LiveView module name. |
component | string | LiveComponent module name, if applicable. |
assigns | object | Socket assigns at the time of the event. |
assigns.* | any | Additional caller-defined keys. |
params | object | Params passed to the event handler. |
params.* | any | Additional caller-defined keys. |
event | string | Event name for handle_event events. |
duration | number | Duration in microseconds. |
request_id | string | Request ID generated at LiveView mount and shared by events on the same socket. |
Example
{ "event_type": "phoenix.live_view.handle_event.stop", "url": "https://www.example.com/users/42/edit", "socket_id": "phx-F8ZBOg1zcBQDqDgAAACB", "view": "MyAppWeb.UserLive.Show", "assigns": { "page_title": "Edit user", "current_user_id": 42 }, "params": { "user": { "name": "Jane Doe" } }, "event": "save", "duration": 28000, "request_id": "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"}phoenix.live_view.handle_params.stop
A Phoenix LiveView handled URL params from a navigate or patch.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.live_view.handle_params.stop. |
url | string | URL of the LiveView at the time of the event. |
socket_id | string | LiveView socket ID. |
view | string | LiveView module name. |
component | string | LiveComponent module name, if applicable. |
assigns | object | Socket assigns at the time of the event. |
assigns.* | any | Additional caller-defined keys. |
params | object | Params passed to the event handler. |
params.* | any | Additional caller-defined keys. |
event | string | Event name for handle_event events. |
duration | number | Duration in microseconds. |
request_id | string | Request ID generated at LiveView mount and shared by events on the same socket. |
Example
{ "event_type": "phoenix.live_view.handle_params.stop", "url": "https://www.example.com/users/42?tab=activity", "socket_id": "phx-F8ZBOg1zcBQDqDgAAACB", "view": "MyAppWeb.UserLive.Show", "assigns": { "page_title": "Show user", "current_user_id": 42 }, "params": { "id": "42", "tab": "activity" }, "duration": 12000, "request_id": "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"}phoenix.live_view.mount.stop
A Phoenix LiveView mounted for a client connection.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.live_view.mount.stop. |
url | string | URL of the LiveView at the time of the event. |
socket_id | string | LiveView socket ID. |
view | string | LiveView module name. |
component | string | LiveComponent module name, if applicable. |
assigns | object | Socket assigns at the time of the event. |
assigns.* | any | Additional caller-defined keys. |
params | object | Params passed to the event handler. |
params.* | any | Additional caller-defined keys. |
event | string | Event name for handle_event events. |
duration | number | Duration in microseconds. |
request_id | string | Request ID generated at LiveView mount and shared by events on the same socket. |
Example
{ "event_type": "phoenix.live_view.mount.stop", "url": "https://www.example.com/users/42", "socket_id": "phx-F8ZBOg1zcBQDqDgAAACB", "view": "MyAppWeb.UserLive.Show", "assigns": { "page_title": "Show user", "current_user_id": 42 }, "params": { "id": "42" }, "duration": 45000, "request_id": "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"}Tesla
tesla.request.exception
A Tesla HTTP request raised an exception. By default, Honeybadger stores only the hostname. Enable full_url in insights_config to include the path. If Tesla uses Finch, Honeybadger records the Finch event instead of a second Tesla event.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: tesla.request.exception. |
method | string | HTTP method in uppercase, e.g. "GET", "POST". |
host | string | Destination hostname. |
status_code | integer | HTTP response status code. |
url | string | Full request URL. Present when full_url is true. |
duration | number | Request round-trip duration in microseconds. |
request_id | string | Request ID from the current EventContext. |
Example
{ "event_type": "tesla.request.exception", "method": "POST", "host": "api.example.com", "status_code": 500, "url": "https://api.example.com/v1/payments", "duration": 30000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}tesla.request.stop
A Tesla HTTP request finished. By default, Honeybadger stores only the hostname. Enable full_url in insights_config to include the path. If Tesla uses Finch, Honeybadger records the Finch event instead of a second Tesla event.
| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: tesla.request.stop. |
method | string | HTTP method in uppercase, e.g. "GET", "POST". |
host | string | Destination hostname. |
status_code | integer | HTTP response status code. |
url | string | Full request URL. Present when full_url is true. |
duration | number | Request round-trip duration in microseconds. |
request_id | string | Request ID from the current EventContext. |
Example
{ "event_type": "tesla.request.stop", "method": "GET", "host": "api.example.com", "status_code": 200, "url": "https://api.example.com/v1/users", "duration": 92000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}