github getsentry/sentry-elixir 14.1.0

57 minutes ago

This release adds support for Runtime Metrics: the SDK can now report BEAM runtime health to Sentry on its own, without any calls to Sentry.Metrics. It is opt-in:

config :sentry,
  metrics: [runtime: [enabled: true]]

Once enabled, the SDK reports gauges for VM memory by type, run queue lengths, process, atom and port counts, and scheduler utilization, using the process.runtime.elixir.* names from Sentry conventions. It reads them from the events telemetry_poller emits, so add {:telemetry_poller, "~> 1.3"} to your dependencies if you do not have it already. Both 0.5 and 1.x work; 1.3.0 or later is needed for the limit and utilization gauges. See Automatically Collected Metrics for details.

New Features ✨

Runtime Metrics

  • Add opt-in BEAM runtime metrics collector by @solnic in #1188
  • Report scheduler utilization in runtime metrics by @solnic in #1189
  • Report run queue depth in runtime metrics by @solnic in #1212
  • Report process, atom and port counts in runtime metrics by @solnic in #1213
  • Align runtime metrics with sentry-conventions by @solnic in #1235

Bug Fixes 🐛

Documentation 📚

Other

Don't miss a new sentry-elixir release

NewReleases is sending notifications on new releases.