opentelemetry-cpp
opentelemetry-cpp copied to clipboard
[METRICS SDK] Fix OTLP gRPC Metrics env variables
Fixes # (issue)
Changes
Please provide a brief description of the changes here.
otlp gRPC Metrics exporter is reusing the env variable processing from otlp trace exporter, which is making it use env variables containing _TRACE_ instead of _METRICS_. This is fixed now.
For significant contributions please make sure you have completed the following items:
- [ ]
CHANGELOG.mdupdated for non-trivial changes - [ ] Unit tests have been added
- [ ] Changes in public API reviewed
Codecov Report
Merging #1543 (aa07289) into main (8b61c99) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #1543 +/- ##
=======================================
Coverage 83.91% 83.91%
=======================================
Files 156 156
Lines 4908 4908
=======================================
Hits 4118 4118
Misses 790 790