Introducing Elixir performance monitoring in Honeybadger!
We've added three new features to Honeybadger Insights:
- A new Phoenix performance dashboard. Instead of creating a dashboard from scratch, select " Phoenix" from our list of curated monitoring dashboards. The new dashboard allows you to monitor requests, slow controllers, Ecto queries, and more.
- A new Oban dashboard. We love Oban at Honeybadger and thought it would be the perfect companion to the Phoenix dashboard (the first of many useful dashboards, we hope!). The Oban dashboard gives you a quick overview of your Oban performance, including job counts by status, worker stats, and slow jobs.
- Elixir & Phoenix performance instrumentation. Our Hex package now automatically sends performance events and metrics (via telemetry) from Phoenix and other popular libraries. The new instrumentation powers your dashboard, but you can also use our query language (BadgerQL) to dig into the data yourself, which creates some exciting possibilities.
To use these features, you'll need to upgrade to version ~> 0.24
of the the honeybadger
Hex package and enable a config option in your config.exs
:
config :honeybadger,
insights_enabled: true
Honeybadger automatically instruments the following libraries when they are available:
- Ecto: Database queries
- Plug/Phoenix: HTTP requests
- LiveView: Phoenix LiveView lifecycle events
- Oban: Background job processing
- Absinthe: GraphQL query execution
- Finch: HTTP client requests, often used by other libraries like Req
- Tesla: HTTP client requests
You can also customize the default dashboards and send custom logs and events to Honeybadger — read the full blog post to learn more.