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

get_tracer Is Missing Required Attributes Arg #4016

Closed
lzchen opened this issue Jul 2, 2024 · 1 comment
Closed

get_tracer Is Missing Required Attributes Arg #4016

lzchen opened this issue Jul 2, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good first issue help wanted

Comments

@lzchen
Copy link
Contributor

lzchen commented Jul 2, 2024

Describe your environment

OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.8.10)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)

What happened?

Same as #3695 but with get_tracer

Steps to Reproduce

In TracerProvider, the method get_tracer does not have an argument attributes.

Expected Result

Expected to see the spec fully implemented. Being able to specify crosscutting attributes at init time would be extremely valuable.

Actual Result

The final arg for get_meter is schema_url, attributes is not present:https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-api/src/opentelemetry/trace/__init__.py#L191

Additional context

No response

Would you like to implement a fix?

None

@lzchen lzchen added bug Something isn't working good first issue Good first issue help wanted labels Jul 2, 2024
@lzchen
Copy link
Contributor Author

lzchen commented Jul 3, 2024

Duplcate of #2940

@lzchen lzchen closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good first issue help wanted
Projects
None yet
Development

No branches or pull requests

1 participant