How to add Datadog logging, traces, and custom metrics to your Pipecat Cloud agents
0.0.7
of the Pipecat Cloud base image:.env
file as recommended, add your Datadog API key to that file:
datadog.yaml
pre-app.sh
Starting Datadog Agent: datadog-agent failed!
in your logs,
triggered by service datadog-agent start
. You can safely ignore this! As
long as service datadog-agent status
and service datadog-agent-trace status
indicate that both of those services end up running, then we should
have no trouble sending logs, traces, and custom metrics to Datadog.Dockerfile
with the Datadog Agentdatadog.yaml
datadog.yaml
:
python.d/conf.yaml
Dockerfile
for loggingDockerfile
:
logger
in bot.py
datadog.yaml
apm_config.enabled
is NOT set to false
in your datadog.yaml
:
pre-app.sh
pre-app.sh
:
Dockerfile
Dockerfile
:
ddtrace
Python libraryrequirements.txt
:
bot.py
datadog.yaml
use_dogstatsd
is NOT set to false
in your datadog.yaml
:
Dockerfile
Dockerfile
:
datadog
Python libraryrequirements.txt
:
bot.py