Python Flask Example with Datadog
Set your DATADOG_API_KEY
to your environment:
$ export DATADOG_API_KEY=x
If you use the Europe account:
$ export DATADOG_SITE=datadoghq.eu
Of if you use the US account:
export DATADOG_SITE=datadoghq.com
Deploy:
$ docker-compose up
APM:
APM1:
APM2:
APM BP:
APM Trace:
APM Flame Graph:
APM Correlate Host:
Logs:
Metrics:
Python Log Collection: https://docs.datadoghq.com/logs/log_collection/python/?tab=pythonjsonlogger
Tracing Docker Applications: https://docs.datadoghq.com/agent/docker/apm/?tab=python
Docker Agent: https://docs.datadoghq.com/agent/docker/?tab=standard
Docker Log Collection: https://docs.datadoghq.com/agent/docker/log/?tab=configurationfile
Monitor Flask Apps: https://www.datadoghq.com/blog/monitoring-flask-apps-with-datadog/#installing-the-datadog-agent