Skip to content

feat(exporter-prometheus): support withoutScopeInfo option#5993

Merged
pichlermarc merged 2 commits into
open-telemetry:mainfrom
cjihrig:prom-scope-info
Nov 7, 2025
Merged

feat(exporter-prometheus): support withoutScopeInfo option#5993
pichlermarc merged 2 commits into
open-telemetry:mainfrom
cjihrig:prom-scope-info

drop empty scope info labels

fcb2aa0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 6, 2025 in 1s

95.16% (-0.01%) compared to e460f03

View this Pull Request on Codecov

95.16% (-0.01%) compared to e460f03

Details

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 95.16%. Comparing base (e460f03) to head (fcb2aa0).

Files with missing lines Patch % Lines
...ry-exporter-prometheus/src/PrometheusSerializer.ts 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5993      +/-   ##
==========================================
- Coverage   95.16%   95.16%   -0.01%     
==========================================
  Files         316      316              
  Lines        9207     9220      +13     
  Branches     2075     2080       +5     
==========================================
+ Hits         8762     8774      +12     
- Misses        445      446       +1     
Files with missing lines Coverage Δ
...etry-exporter-prometheus/src/PrometheusExporter.ts 96.70% <100.00%> (+0.07%) ⬆️
...ry-exporter-prometheus/src/PrometheusSerializer.ts 95.83% <95.00%> (-0.35%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.