open-telemetry / opentelemetry-configuration

JSON Schema definitions for OpenTelemetry file configuration
Apache License 2.0
29 stars 15 forks source link

Add IdGenerator in tracer_provider #70

Open marcalff opened 7 months ago

marcalff commented 7 months ago

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

jack-berg commented 7 months ago

This makes sense 👍