Skip to content

[feature request] Metrics OpenTelemetry #2831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wrwsc opened this issue Jun 10, 2025 · 1 comment
Open

[feature request] Metrics OpenTelemetry #2831

wrwsc opened this issue Jun 10, 2025 · 1 comment
Labels
comp:instrumentation.runtime Things related to OpenTelemetry.Instrumentation.Runtime enhancement New feature or request

Comments

@wrwsc
Copy link

wrwsc commented Jun 10, 2025

Component

OpenTelemetry.Instrumentation.Runtime

Is your feature request related to a problem?

Why do metrics (for example, Runtime) use UpDownCounter or Counter instead of Gauge, when Gauge is the right metric?

https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.Runtime/RuntimeMetrics.cs

What is the expected behavior?

I would like to understand why the gauge does not change after taking a snapshot.

Which alternative solutions or features have you considered?

None

Additional context

None

@wrwsc wrwsc added the enhancement New feature or request label Jun 10, 2025
@github-actions github-actions bot added the comp:instrumentation.runtime Things related to OpenTelemetry.Instrumentation.Runtime label Jun 10, 2025
Copy link
Contributor

Tagging component owner(s).

@twenzel @xiang17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:instrumentation.runtime Things related to OpenTelemetry.Instrumentation.Runtime enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant