Skip to content

Commit

Permalink
Merge pull request #4 from shigeya-dd/shigeya-ddconfig
Browse files Browse the repository at this point in the history
Add Datadog exporter configuration
  • Loading branch information
dineshg13 authored Nov 3, 2022
2 parents 275440f + a91e2ed commit a41920e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/otelcollector/otelcol-config-extras.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# extra settings to be merged into OpenTelemetry Collector configuration
# do not delete this file

exporters:
datadog:
api:
key: DD_API_KEY # Set/Replace with your Datadog API key
host_metadata:
tags:
- otel:true

processors:
resource:
attributes:
- key: deployment.environment # Set env tag for Datadog
value: "otel"
action: upsert

service:
pipelines:
traces:
processors: [spanmetrics, batch, resource]
exporters: [logging, jaeger, datadog]
metrics:
processors: [batch, resource]
exporters: [prometheus, logging, datadog]

0 comments on commit a41920e

Please sign in to comment.