Skip to content

Tracers should reference an InstrumentationLibrary rather than a Resource#616

Merged
bogdandrutu merged 1 commit intoopen-telemetry:masterfrom
mwear:tracer_creation_instrumentation_library_updates
May 21, 2020
Merged

Tracers should reference an InstrumentationLibrary rather than a Resource#616
bogdandrutu merged 1 commit intoopen-telemetry:masterfrom
mwear:tracer_creation_instrumentation_library_updates

Conversation

@mwear
Copy link
Copy Markdown
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
Copy Markdown
Contributor

jmacd commented May 20, 2020

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

@mwear
Copy link
Copy Markdown
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