elixir-error-tracker / error-tracker

🐛 An Elixir-based built-in error reporting and tracking solution
https://hex.pm/packages/error_tracker
Apache License 2.0
320 stars 12 forks source link

Detect & format GQL queries / mutations #46

Open tlvenn opened 3 weeks ago

tlvenn commented 3 weeks ago

Would be great to detect GraphQL queries / mutations and format them along with their variables.

crbelaus commented 3 weeks ago

ErrorTracker uses Telemetry to integrate with third-party packages such as Phoenix, Phoenix LiveView and Oban.

If Absinthe provides Telemetry events it should be theoretically possible to attach to those events, extract useful information and include it in the error context.