We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
follow-up on #3251
#3251 (comment) #3251 (comment)
According to the spec schema_url can be provided as parameter when getting a meter or a logger
schema_url
While otel-api in python supports providing schema_url on metrics and logs, some overloads don't support it:
opentelemetry-python/opentelemetry-api/src/opentelemetry/metrics/_internal/__init__.py
Lines 718 to 722 in c8e5c3e
or
opentelemetry-python/opentelemetry-api/src/opentelemetry/_logs/_internal/__init__.py
Lines 214 to 218 in c8e5c3e
while the same overload on traces takes schema_url
opentelemetry-python/opentelemetry-api/src/opentelemetry/trace/__init__.py
Lines 493 to 498 in c8e5c3e
Is your feature request related to a problem?
With a lot of recent changes in OTel semconv, populating schema_url is essential for backends to understand telemetry, but many instrumentation libraries do not populate it https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1746/files
Describe the solution you'd like Add schema_url as parameter on convenience get_meter and get_logger methods
get_meter
get_logger
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
follow-up on #3251
#3251 (comment)
#3251 (comment)
According to the spec
schema_url
can be provided as parameter when getting a meter or a loggerWhile otel-api in python supports providing schema_url on metrics and logs, some overloads don't support it:
opentelemetry-python/opentelemetry-api/src/opentelemetry/metrics/_internal/__init__.py
Lines 718 to 722 in c8e5c3e
or
opentelemetry-python/opentelemetry-api/src/opentelemetry/_logs/_internal/__init__.py
Lines 214 to 218 in c8e5c3e
while the same overload on traces takes
schema_url
opentelemetry-python/opentelemetry-api/src/opentelemetry/trace/__init__.py
Lines 493 to 498 in c8e5c3e
Is your feature request related to a problem?
With a lot of recent changes in OTel semconv, populating schema_url is essential for backends to understand telemetry, but many instrumentation libraries do not populate it
https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1746/files
Describe the solution you'd like
Add
schema_url
as parameter on convenienceget_meter
andget_logger
methodsThe text was updated successfully, but these errors were encountered: