Context
I am currently running Ory Hydra (Self-Hosted) on AWS ECS. The datadog agents are already running on every EC2 host and can publish tracing logs of other services to the Datadog account. And, I want to publish Ory Hydra's tracing data to the datadog.
What have I tried so far?
Using the references mentioned here. I have added the following environment variable to enable Ory Hydra to publish the tracing data to local Datadog Agent
TRACING_PROVIDER=otel
TRACING_PROVIDERS_OTLP_INSECURE=true
TRACING_PROVIDERS_OTLP_SAMPLING_SAMPLING_RATIO=1.0
TRACING_PROVIDERS_OTLP_SERVER_URL=localhost:8126
TRACING_SERVICE_NAME=oauth2-oidc-service
After applying, Ory Hydra Server runs successfully with the following log:
level=info msg=OTLP tracer configured! Sending spans to localhost:8126 audience=application service_name=Ory Hydra service_version=v2.2.0
Thank you for using Ory Hydra v2.2.0!
That means the tracer is setup properly. Yet I cannot see any Ory Hydra traces on my Datadog account.
Help Needed
What needs to be done to fix it?