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

Accept scope attributes during Meter creation #3738

Merged
merged 9 commits into from
Feb 17, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Feb 16, 2023

Part of #3368

The OTel specification requires the instrumentation attributes are accepted by the API for the Meter. This adds a MeterOption to satisfy that requirement.

@MrAlias MrAlias added pkg:API Related to an API package area:metrics Part of OpenTelemetry Metrics labels Feb 16, 2023
@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@59daa05). Click here to learn what that means.
The diff coverage is 100.0%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff           @@
##             main   #3738   +/-   ##
======================================
  Coverage        ?   81.6%           
======================================
  Files           ?     166           
  Lines           ?   12432           
  Branches        ?       0           
======================================
  Hits            ?   10154           
  Misses          ?    2063           
  Partials        ?     215           
Impacted Files Coverage Δ
metric/config.go 100.0% <100.0%> (ø)

MrAlias and others added 4 commits February 16, 2023 12:29
Likely these attributes will be stored as a Set in the SDK. Don't cause
two conversions because we return a slice here.
@MrAlias MrAlias merged commit c5c3c95 into open-telemetry:main Feb 17, 2023
@MrAlias MrAlias deleted the metric-scope-attr branch February 17, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics pkg:API Related to an API package
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants