Datadog is a powerful monitoring and security platform that gives you visibility into end-to-end traces, application metrics, logs, and infrastructure.
Head to the Community Add-ons tab on Porter and select the Datadog add-on.
You will be prompted to enter a DataDog API Token to connect to your Datadog dashboard. Follow this guide to create a client token.
Copy the generated token and paste it into the DataDog API Token field on Porter.
The add-on by default forwards all container logs to your Datadog instance. This will result in additional cost from Datadog. You can filter out the logs and limit ingestion and retention from the Datadog dashboard.
The add-on will automatically inject environment variables like
DD_ENTITY_ID into all of your containers using the Datadog Admission Controller. Most dogstatsd libraries will work out of the box using these environment variables.
For details on how the Datadog add-on is configured on Porter, please see this blog article.