-
Couldn't load subscription status.
- Fork 946
feat(exporter-prometheus): support withoutScopeInfo option #5993
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5993 +/- ##
=======================================
Coverage 95.16% 95.17%
=======================================
Files 316 316
Lines 9207 9217 +10
Branches 2075 2080 +5
=======================================
+ Hits 8762 8772 +10
Misses 445 445
🚀 New features to boost your workflow:
|
This commit adds support for the without_scope_info option (converted to camelCase to match other options) from the spec.
3ce69fd to
cf601e8
Compare
|
@pichlermarc would you mind taking a look? |
|
The Windows test failure appears to be a flake - #6042 |
|
Maybe @david-luna could take a look? |
|
@cjihrig Are you able to provide some background for a reviewer that might not be so familiar with Prometheus, or exactly what references you mean by "from the spec.". I clicked through to open-telemetry/opentelemetry-specification#4223 (comment) but am not sure if that is the best reference here. |
|
Sure @trentm. I was looking at this page. Apologies if that shouldn't be referred to as the spec, but I assumed it was based on the "specs" in the URL. From that page, I was referring to:
I changed the name from snake_case to camelCase to match the other options used in the JS repo. Looking at the test data from the Golang repo, you can see examples like this one (or most of the other examples in that directory). Note the |
Which problem is this PR solving?
This commit adds support for the
without_scope_infooption (converted to camelCase to match other options) from the spec.Fixes # N/A
Related: Here are some output snapshots from the Golang library which include the scope labels.
Type of change
How Has This Been Tested?
Checklist: