Skip to content
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

Why metric "opentelemetry_allocator_targets_remaining" is a counter instead of a gauge ? #3578

Open
chenlujjj opened this issue Dec 30, 2024 · 3 comments · May be fixed by #3590
Open

Why metric "opentelemetry_allocator_targets_remaining" is a counter instead of a gauge ? #3578

chenlujjj opened this issue Dec 30, 2024 · 3 comments · May be fixed by #3590
Labels
area:target-allocator Issues for target-allocator bug Something isn't working

Comments

@chenlujjj
Copy link

Component(s)

target allocator

Describe the issue you're reporting

Now the metric opentelemetry_allocator_targets_remaining is a counter, I think it should be a gauge, same as opentelemetry_allocator_targets_unassigned ?

@chenlujjj
Copy link
Author

version: 0.103.0

@swiatekm
Copy link
Contributor

swiatekm commented Jan 2, 2025

This sounds like a bug to me, although it practice changing it is going to be more like a breaking change. @chenlujjj would you like to submit a fix?

@swiatekm swiatekm added bug Something isn't working area:target-allocator Issues for target-allocator and removed needs triage labels Jan 2, 2025
@chenlujjj
Copy link
Author

sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:target-allocator Issues for target-allocator bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants