-
Notifications
You must be signed in to change notification settings - Fork 849
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
Restore prometheus metric name mapper tests, fix regressions #6138
Restore prometheus metric name mapper tests, fix regressions #6138
Conversation
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6138 +/- ##
============================================
+ Coverage 91.01% 91.07% +0.06%
- Complexity 5702 5706 +4
============================================
Files 630 630
Lines 16710 16711 +1
Branches 1656 1657 +1
============================================
+ Hits 15208 15219 +11
+ Misses 1047 1039 -8
+ Partials 455 453 -2 ☔ View full report in Codecov by Sentry. |
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Outdated
Show resolved
Hide resolved
.../prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerTest.java
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Outdated
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the post-merge comments, @jack-berg !
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Outdated
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Outdated
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Show resolved
Hide resolved
...ers/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/PrometheusUnitsHelper.java
Show resolved
Hide resolved
...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java
Outdated
Show resolved
Hide resolved
.../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now! Thank you for addressing the concerns! 👍🏻
Addressing post-merge comments on #6015.
Fixing a few things that might qualify as regressions:
1
toratio
in the simple case. I.e. we convert1{foo}
toratio
, but1
result innull
. Not sure why but I think that's wrong.