Telemetry
Sentry supports monitoring Telemetry handler errors and reporting them.
The Telemetry integration supports:
- Capturing errors that happen in Telemetry handlers and reporting them.
This integration is built into the Sentry SDK starting with v10.10.0.
You can configure the Telemetry integration in your Sentry configuration, under the :integrations
key:
config/config.exs
Copied
config :sentry,
# ...,
integrations: [
+ telemetry: [
+ report_handler_failures: true,
+ ]
]
This configuration will report failed Telemetry handler errors to Sentry. It's usually important to report these errors, as Telemetry detaches failing handlers. If you don't monitor these errors, you may not know that a handler failed and is not going to execute anymore until it's re-attached (usually when the application restarts).
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").