Skip to content

Absinthe exceptions not caught? #634

@dbernheisel

Description

@dbernheisel

Forgive me if I'm incorrect, but I don't believe Absinthe emits [:absinthe, :operation, :exception] telemetry events since they don't use :telemetry.span -- instead they manually emit start and stop events, and there isn't a exception event.

@telemetry_events [
[:absinthe, :execute, :operation, :stop],
[:absinthe, :execute, :operation, :exception]
]

Looking at the Absinthe Telemetry guides, they also don't list exceptions: https://hexdocs.pm/absinthe/telemetry.html nor in Absinthe.Plug

Here's where Absinthe is emitting the events:
https://github.com/absinthe-graphql/absinthe/blob/a555ed72c6e21f174b67ccb2dbb898b6ac9a420c/lib/absinthe/phase/telemetry.ex#L23-L27

https://github.com/absinthe-graphql/absinthe/blob/a555ed72c6e21f174b67ccb2dbb898b6ac9a420c/lib/absinthe/phase/telemetry.ex#L72-L78

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions