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

Add IdGenerator in tracer_provider #70

Open
marcalff opened this issue Jan 30, 2024 · 2 comments
Open

Add IdGenerator in tracer_provider #70

marcalff opened this issue Jan 30, 2024 · 2 comments

Comments

@marcalff
Copy link
Member

The specification defines IdGenerator as an extension point:

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#id-generators

The yaml for tracer_provider: should probably allow to define which id generator to use, something like:

tracer_provider:
  id_generator:
    # SDK extension point
    my_custom_id_generator:

Found while prototyping for opentelemetry-cpp

@marcalff marcalff changed the title Add IdGenerator in the trace_provider Add IdGenerator in tracer_provider Jan 30, 2024
@jack-berg
Copy link
Member

This makes sense 👍

@jack-berg
Copy link
Member

Hey @marcalff - marked this as "not blocking stability" because I think we can safely add this after stable if needed. But I think if you (or anyone) wants to take this now, we'd welcome PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not blocking stability
Development

No branches or pull requests

2 participants