Extend prometheus declarative config support to include without_scope_info, with_resource_constant_labels
From the schema: https://github.com/open-telemetry/opentelemetry-configuration/blob/e196026e6779e180155537f0e7585a379b40a1d3/examples/kitchen-sink.yaml#L93-L108
Codecov Report
Attention: Patch coverage is 92.85714% with 5 lines in your changes missing coverage. Please review.
Project coverage is 89.88%. Comparing base (
d9c9583) to head (cfaf70a). Report is 5 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #6840 +/- ##
============================================
+ Coverage 89.85% 89.88% +0.02%
- Complexity 7005 7017 +12
============================================
Files 798 799 +1
Lines 21211 21240 +29
Branches 2055 2065 +10
============================================
+ Hits 19059 19091 +32
+ Misses 1493 1488 -5
- Partials 659 661 +2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Note this PR was discussed / requested in this discussion: https://github.com/open-telemetry/opentelemetry-java/discussions/7473
If folks can review, I think we should move forward with this PR. Its still valuable and low risk.