Repository navigation
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 🐛
- (logger) Read only the logger metadata key from callers by @saveman71 in #1267
- (logs) Preserve false in named parameters by @pcbeingused333 in #1264
- (quantum) Apply monitor_config_defaults to cron check-ins by @pcbeingused333 in #1265
- (tracing) Preserve OpenTelemetry span statuses by @dnsbty in #1261
- Hibernate sources after loading the source map by @pcbeingused333 in #1262
Documentation 📚
- Use dark-mode-aware Sentry logo in READMEs by @szokeasaurusrex with @sentry-junior in #1255