Skip to content

[NFC] Improve scope/instrument names in metrics ostream exporter#1544

Merged
lalitb merged 4 commits intoopen-telemetry:mainfrom
bsarden:dev/improve-name-in-metric-ostream-exporter
Aug 11, 2022
Merged

[NFC] Improve scope/instrument names in metrics ostream exporter#1544
lalitb merged 4 commits intoopen-telemetry:mainfrom
bsarden:dev/improve-name-in-metric-ostream-exporter

Conversation

@bsarden
Copy link
Copy Markdown
Contributor

@bsarden bsarden commented Aug 6, 2022

Previously, we were overloading the name key in the metrics ostream
exporter. This patch qualifies the name key with the appropriate prefix
based on the structures they represent.

Previously, we were overloading the `name` key in the metrics ostream
exporter. This patch qualifies the `name` key with the appropriate prefix
based on the structures they represent.
@bsarden bsarden requested a review from a team August 6, 2022 20:00
Comment thread exporters/ostream/src/metric_exporter.cc
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 6, 2022

Codecov Report

Merging #1544 (0170a63) into main (b4ed047) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1544   +/-   ##
=======================================
  Coverage   83.93%   83.93%           
=======================================
  Files         156      156           
  Lines        4908     4908           
=======================================
  Hits         4119     4119           
  Misses        789      789           
Impacted Files Coverage Δ
exporters/ostream/test/ostream_metric_test.cc 100.00% <ø> (ø)
exporters/ostream/src/metric_exporter.cc 92.13% <100.00%> (ø)

Copy link
Copy Markdown
Member

@lalitb lalitb 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 changes.

@lalitb lalitb merged commit 86c9f2b into open-telemetry:main Aug 11, 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.

2 participants