Implement InstrumentationLibrary Instance in SDK #567
Labels
area:sdk
bug
Something isn't working
release:required-for-ga
To be resolved before GA release
spec-compliance
Not compliant to OpenTelemetry specs
Milestone
As per specs for Tracer Creation :
New Tracer instances are always created through a TracerProvider (see API). The name and version arguments supplied to the TracerProvider must be used to create an InstrumentationLibrary instance which is stored on the created Tracer.
Currently for cpp, we do pass instrumentation library name and version in tracer sdk, but it is never used internally to create
InstrumentationLibrary
instance, and further passing it to otel (and other) exporters:opentelemetry-cpp/sdk/include/opentelemetry/sdk/trace/tracer_provider.h
Lines 35 to 37 in 25a7178
As per the otel protocol:
https://github.com/open-telemetry/opentelemetry-proto/blob/e73df7c9f3c474c992990e82aa09ee46c39d6aab/opentelemetry/proto/common/v1/common.proto#L72-L78:
`
The text was updated successfully, but these errors were encountered: