:thread: Ory Hydra Integration with Datadog
# ory-selfhosting
b
🧵 Ory Hydra Integration with Datadog
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
Copy code
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:
Copy code
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? I have also asked the same question on Stack-Overflow: https://stackoverflow.com/questions/79423618/ory-hydra-integration-with-datadog. Feel free to add your answer there to increase your reputation. 🙏 cc: @magnificent-energy-493 @great-microphone-75721
m
I don't have experience with Datadog unfortunately, so I can't say what the issue might be 🤔 I think you had the same question in December... Ory does offer support contracts so our devs can help - I would highly recommend looking into that if you are unable to find a solution on your own and you run Ory in a commercial setting / it is business-critical for you. Without support contract the software is provided as is and we usually can't help debug more complex issues like this one as they are highly dependent on the details of your infrastructure and setup.