-
Notifications
You must be signed in to change notification settings - Fork 906
Description
Is your feature request related to a problem?
Feature Request
Describe the solution you'd like
The DatadogFormat exporter includes the DatadogFormat propagator to read in Datadog-specific trace/span information. This is not added as an opentelemetry_propagator entrypoint and is thus not hooked up by default into the CompositePropagator:
The easiest solution would be to add the opentelemetry_propagator entrypoint to the Datadog exporter setup.cfg:
| [options] |
This would be the same as how the xray one is instrumented:
opentelemetry-python-contrib/propagator/opentelemetry-propagator-aws-xray/setup.cfg
Lines 44 to 46 in 3a78439
| [options.entry_points] | |
| opentelemetry_propagator = | |
| xray = opentelemetry.propagators.aws:AwsXRayPropagator |
But probably the right solution is the take the DatadogFormat propagator and move it into the propagator package as a a sibling of xray and otrace.
Describe alternatives you've considered
Workaround is to manually set the propagator:
from opentelemetry.propagate import set_global_textmap
set_global_textmap(DatadogFormat())Additional context
N/A