Skip to content
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

[METRICS SDK] Fix OTLP gRPC Metrics env variables #1543

Merged
merged 9 commits into from
Aug 8, 2022

Conversation

lalitb
Copy link
Member

@lalitb lalitb commented Aug 5, 2022

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.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@lalitb lalitb requested a review from a team August 5, 2022 22:24
@lalitb lalitb changed the title Fix OTLP gRPC env variables [METRICS SDK] Fix OTLP gRPC Metrics env variables Aug 5, 2022
@codecov
Copy link

codecov bot commented Aug 5, 2022

Codecov Report

Merging #1543 (aa07289) into main (8b61c99) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1543   +/-   ##
=======================================
  Coverage   83.91%   83.91%           
=======================================
  Files         156      156           
  Lines        4908     4908           
=======================================
  Hits         4118     4118           
  Misses        790      790           

Copy link
Member

@esigo esigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks for the fix :)

@lalitb lalitb merged commit 319d854 into open-telemetry:main Aug 8, 2022
yxue pushed a commit to yxue/opentelemetry-cpp that referenced this pull request Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants