tracing-opentelemetry
tracing-opentelemetry copied to clipboard
enhancement: add gauge metric behind feature
Motivation
The opentelemetry crate actually supports Gauge metric behind otel_unstable feature.
Solution
Extend the current implementation with the treatment for the new Gauge metric.
The tests are passing but i don't know if there are necessary other type of tests (at this point, the property start_time inside the DataPoints of the Gauge type are None in all the test, for example. L664 of tests/metrics_publishing.rs file).
Any chance it will be merged?
Hello guys, I made an another pr based on the branch
there are some tests fixes, guard them by feature, add --all-features flag to cicd.
I hope I didn't offend you, @academiaresf . You did a nice job!
since https://github.com/tokio-rs/tracing-opentelemetry/pull/129 is merged - this one can be closed
@academiaresf thanks for jumpstarting this!
@biryukovmaxim thanks for completing it, i didn't have time to continue with this