Repository navigation
Align runtime metrics conventions - #1235
Merged
Merged
Conversation
solnic
force-pushed
the
feat/align-runtime-metrics-conventions
branch
from
September 30, 2026 13:48
d55cf84 to
6a2a126
Compare
solnic
force-pushed
the
feat/align-runtime-metrics-conventions
branch
2 times, most recently
from
November 4, 2026 15:39
5f33f8d to
be8620d
Compare
solnic
marked this pull request as ready for review
November 4, 2026 15:42
Report runtime metrics under process.runtime.elixir.* as defined in sentry-conventions (getsentry/sentry-conventions#768): - process.runtime.elixir.memory.used, one gauge per process.runtime.elixir.memory.type (processes, atom, binary, code, ets, other), replacing the elixir.runtime.mem.* gauges - process.runtime.elixir.run_queue.length, one gauge per process.runtime.elixir.run_queue.type (cpu, io), replacing the elixir.runtime.run_queue.* gauges - process.runtime.elixir.{process,atom,port}.{count,limit,utilization} and process.runtime.elixir.scheduler.utilization - unit "none" for counts, and the OTel process.runtime.* attributes in place of elixir_version and otp_release when version_attributes is enabled Document the units Sentry recognizes in Sentry.Metrics. Add `mix test.conventions` and a workflow that check the emitted metrics against the definitions in a sentry-conventions checkout.
solnic
force-pushed
the
feat/align-runtime-metrics-conventions
branch
from
November 11, 2026 14:30
3670d91 to
93149a9
Compare
dingsdax
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tweak runtime metrics to match expectations of the new upcoming metric model.
Refs getsentry/sentry-conventions#649
Example
Here's what Sentry generated when I asked for a Dashboard with runtime metrics: