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 instrumentation version #811

Merged
merged 15 commits into from
Jun 12, 2020

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Jun 11, 2020

Refactored version of #809 so the API is not dependent on the SDK's instrumentation.Library.

  • Update the Meter interface in the API to accept MeterOptions that specify the optional instrumentation version.
  • Update implementations of the Meter interface to accept the new MeterOptions.
  • Change the API meter Option to InstrumentOption to distinguish from MeterOption.
  • Update the record Descriptor config to include instrumentation information (name/version) and remove LibraryName.
  • Update OTLP exporter to export new instrumentation.Library.
  • Update stdout exporter to print encoded instrumentation.Library.

Does not include updates to the Prometheus exporter. Do we want this info included? If so, an issue should be created for it.

Fixes #630

@MrAlias MrAlias added pkg:API Related to an API package pkg:SDK Related to an SDK package exporters area:metrics Part of OpenTelemetry Metrics labels Jun 11, 2020
@MrAlias MrAlias self-assigned this Jun 11, 2020
@MrAlias MrAlias merged commit 288a3dd into open-telemetry:master Jun 12, 2020
@MrAlias MrAlias deleted the metrics-instrumentation-version branch June 12, 2020 16:11
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 pkg:SDK Related to an SDK package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add library version option
2 participants