Learn how to monitor and debug GraphQL errors in Elixir applications using Absinthe and AppSignal. The guide covers different types of GraphQL errors including schema validation, query syntax, resolver errors, and type mismatches. It demonstrates setting up AppSignal for automatic instrumentation and creating custom Absinthe middleware to catch and report resolver errors that would otherwise return 200 status codes. The tutorial includes practical examples of error tracking implementation and shows how to surface GraphQL-specific errors in the AppSignal dashboard.
Table of contents
PrerequisitesIntroducing Our Example Phoenix AppWhat Is GraphQL?The GraphQL SchemaAbsinthe ErrorsTracking Absinthe Errors Using AppSignalHow Absinthe Treats ErrorsCustom Instrumenting Absinthe ErrorsWrapping UpSort: