Skip to content

OTLP to Datadog

Use this guide to send collector logs to Datadog with OTLP.

Use the endpoint matching your Datadog site.

Examples:

  • https://otlp.datadoghq.com/v1/logs (US)
  • https://otlp.datadoghq.eu/v1/logs (EU)
  • https://otlp.ddog-gov.com/v1/logs (US1-FED)
output:
otel:
- name: "datadog"
enabled: true
endpoint: "https://otlp.datadoghq.com/v1/logs"
service_name: "ms-teams-agent"
deployment_environment: "prod"
headers:
DD-API-KEY: "<datadog-api-key>"
Terminal window
ms-teams-agent validate --config ./config.yaml
ms-teams-agent test-connection --config ./config.yaml
ms-teams-agent run --config ./config.yaml --ignore-state

Quick endpoint check:

Terminal window
curl -i "https://otlp.datadoghq.com/v1/logs" \
-H "DD-API-KEY: <datadog-api-key>"

In Datadog Log Explorer, filter on service:ms-teams-agent and confirm records such as MSTeams_CallRecords_StreamDetails.