tool · inferred from evidence
ddtrace-run
A command-line tool for running and debugging Datadog tracers.
- ddtrace for Python: pip install ddtrace, prefix the entry point with ddtrace-run
Python APM with ddtrace: pip install ddtrace, prefix the entry point with ddtrace-run, and check config with ddtrace-run --info. No code changes needed for the basics. Not the full reference manual.
- APM trace agent connection refused: point the tracer at the agent with DD_AGENT_HOST
Tracers ship to the Datadog agent on the same host by default. Connection refused means the tracer cannot reach it: wrong DD_AGENT_HOST in containers, agent APM not enabled, or a firewall in between.