You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use OpenTelemetry with AWS Otel (https://aws-otel.github.io/) I saw that right now the ContextPropagators are fixed to W3C (which doesn't work with AWS X-Ray), there is no possibility to change the Id Generator in the SdkTracerProviderBuilder (to work with AWS Otel we need to set it to AWS Id Generator), and also no way to change the append info to the Resource (AWS also has extension to set ECS Resource info for instance).
It would be good to have a way to set those and also to have the OTLP exporter so we can work with other OpenTelemetry distributions.
Implementation ideas
Since the ContextPropagators are coded distinctively from each other (a few use service loader, and those that don't they have different static methods to fetch the propagator), the most feasible way is to use a Producer with DefaultBean that produces the W3C propagator, and if desired we can use an alternate one to change the propagator.
Probably use a Producer with DefaultBean that produces the random Id generator default one, and if people want they can also use an alternate producer to change it.
Also probably use a Producer with DefaultBean that produces a Resource (empty one) that people can use an alternate producer to change it, and in the recorder that resource is merged last.
The text was updated successfully, but these errors were encountered:
kenfinnigan
changed the title
OpenTelemetry OTLP Exporter and Default Paramters Customizer
OpenTelemetry OTLP Exporter and Default Parameters Customizer
Jun 17, 2021
Description
When trying to use OpenTelemetry with AWS Otel (https://aws-otel.github.io/) I saw that right now the ContextPropagators are fixed to W3C (which doesn't work with AWS X-Ray), there is no possibility to change the Id Generator in the SdkTracerProviderBuilder (to work with AWS Otel we need to set it to AWS Id Generator), and also no way to change the append info to the Resource (AWS also has extension to set ECS Resource info for instance).
It would be good to have a way to set those and also to have the OTLP exporter so we can work with other OpenTelemetry distributions.
Implementation ideas
The text was updated successfully, but these errors were encountered: