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

Tracers should reference an InstrumentationLibrary rather than a Resource #616

Conversation

mwear
Copy link
Member

@mwear mwear commented May 20, 2020

Fixes #614.

The tracer creation portion of the trace SDK spec specifies that the name and version used to obtain a tracer should be stored on a Resource object and made available through a getLibraryResource method. With the introduction of OTEP-83, this is no longer accurate. The name and version should be represented as an InstrumentationLibrary instance instead.

See #614 for more discussion.

@jmacd
Copy link
Contributor

jmacd commented May 20, 2020

I'm curious how this squares with open-telemetry/opentelemetry-proto#150

@mwear
Copy link
Member Author

mwear commented May 20, 2020

@jmacd This was discussed briefly in #614. This PR will make the spec accurate as far as the current state of things is concerned. When open-telemetry/opentelemetry-proto#150 merges there will be another round of changes required.

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.

Conflicting information on Resource / Instrumentation Library
5 participants