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

[runtime] Change runtime.uptime instrument from Int64ObservableUpDownCounter to Int64ObservableCounter #3347

Merged

Conversation

matej-g
Copy link
Contributor

@matej-g matej-g commented Jan 31, 2023

Signed-off-by: Matej Gera matej.gera@coralogix.com

runtime.uptime captures the uptime of the process, meaning it is monotonic - there doesn't seem to be reason for this to be up down counter instead of just a counter.

Signed-off-by: Matej Gera <matej.gera@coralogix.com>
Signed-off-by: Matej Gera <matej.gera@coralogix.com>
@codecov
Copy link

codecov bot commented Jan 31, 2023

Codecov Report

Merging #3347 (74b9ca4) into main (67c2b13) will decrease coverage by 0.1%.
The diff coverage is 0.0%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #3347     +/-   ##
=======================================
- Coverage   69.5%   69.4%   -0.1%     
=======================================
  Files        147     147             
  Lines       6890    6890             
=======================================
- Hits        4789    4786      -3     
- Misses      1980    1982      +2     
- Partials     121     122      +1     
Impacted Files Coverage Δ
instrumentation/runtime/runtime.go 0.0% <0.0%> (ø)
samplers/jaegerremote/sampler_remote.go 85.4% <0.0%> (-2.0%) ⬇️

@MrAlias MrAlias merged commit 7c64655 into open-telemetry:main Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants