Conversation
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 4, 2026 12:58
e952b37 to
fabb545
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 4, 2026 13:28
fabb545 to
bf492a4
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 9, 2026 13:13
bf492a4 to
4cd789b
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 9, 2026 14:34
4cd789b to
c77b098
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
2 times, most recently
from
September 11, 2026 09:52
fda8ed5 to
e388efc
Compare
solnic
removed this pull request from stack #1192
September 11, 2026 09:57
solnic
added this pull request to stack #1206
September 11, 2026 09:58
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 11, 2026 12:18
e388efc to
6fd4c6b
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 11, 2026 12:35
6fd4c6b to
e08be02
Compare
solnic
removed this pull request from stack #1206
September 14, 2026 08:49
solnic
added this pull request to stack #1210
September 15, 2026 08:50
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 15, 2026 09:13
e08be02 to
76795fa
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 15, 2026 13:44
76795fa to
a89784a
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 15, 2026 14:28
a89784a to
6a8288a
Compare
solnic
marked this pull request as ready for review
September 16, 2026 08:20
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 16, 2026 13:27
6a8288a to
3515519
Compare
solnic
removed this pull request from stack #1210
September 16, 2026 13:27
solnic
added this pull request to stack #1211
September 16, 2026 13:28
solnic
marked this pull request as draft
September 16, 2026 13:37
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 16, 2026 13:55
3515519 to
7cbd054
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
4 times, most recently
from
September 17, 2026 08:32
6b3eed1 to
45f4265
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
2 times, most recently
from
September 17, 2026 10:00
1dbe3ae to
ec0c38b
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
2 times, most recently
from
September 17, 2026 11:27
2839899 to
29b6766
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 17, 2026 11:54
29b6766 to
6eef7d2
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 17, 2026 13:14
6eef7d2 to
e2616d8
Compare
solnic
marked this pull request as ready for review
September 17, 2026 13:15
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 18, 2026 07:16
e2616d8 to
061c090
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
2 times, most recently
from
September 21, 2026 10:52
706e7d1 to
d86be2e
Compare
solnic
force-pushed
the
feat/runtime-metrics-scheduler-utilization
branch
from
September 21, 2026 12:27
d86be2e to
72e5585
Compare
Comment on lines
+129
to
133
| [] | ||
| end | ||
| end | ||
|
|
||
| defp maybe_detach_runtime_metrics do |
There was a problem hiding this comment.
Bug: The warning for missing :telemetry_poller is misleading. It only mentions elixir.runtime.scheduler.utilization won't be reported, but in fact all runtime metrics will be unavailable.
Severity: LOW
Suggested Fix
Update the warning message in maybe_runtime_metrics_poller to clarify that if :telemetry_poller is not available, all runtime metrics will be disabled, not just elixir.runtime.scheduler.utilization.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: lib/sentry/application.ex#L129-L133
Potential issue: When runtime metrics are enabled but the `:telemetry_poller` dependency
is not available, a warning is logged. This warning is misleading because it only states
that `elixir.runtime.scheduler.utilization` will not be reported. In reality, the
absence of `:telemetry_poller` means that *no* runtime metrics will be collected,
including memory, run queue, and system count metrics. This can cause confusion for
developers trying to debug why they are not seeing any runtime metrics.
sl0thentr0py
approved these changes
Sep 21, 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.
Adds
elixir.runtime.scheduler.utilization, a number between0.0and1.0for how much of the VM's capacity to run code is actually in use.0.0is idle,1.0means there is no headroom left.In practical terms, this will show you how busy the VM's main worker threads were - running application code plus the runtime's own work (GC, memory management, drivers, BIFs) - excluding time blocked on I/O.
Screenshot
If this is close to 1.0 very often for significant periods, you may want an alert set up.