OTLP to Datadog
Use this guide to send collector logs to Datadog with OTLP.
1. Choose the Regional OTLP Endpoint
Section titled “1. Choose the Regional OTLP Endpoint”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)
2. Configure Collector Output
Section titled “2. Configure Collector Output”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>"3. Validate and Send One Cycle
Section titled “3. Validate and Send One Cycle”ms-teams-agent validate --config ./config.yamlms-teams-agent test-connection --config ./config.yamlms-teams-agent run --config ./config.yaml --ignore-state4. Verify Ingestion
Section titled “4. Verify Ingestion”Quick endpoint check:
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.