OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) vor 1 Jahr
..
examples 546340df7a [exporter/datadog] Deprecate peer_service_aggregation in favor of peer_tags_aggregation (#29089) vor 1 Jahr
integrationtest d680729c09 [chore] Prepare release 0.90.0 (#29543) vor 1 Jahr
internal f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) vor 1 Jahr
testdata 6df57dca30 [exporter/datadog] Add config trace_buffer (#28582) vor 1 Jahr
Makefile 3e375adfa6 Add Datadog exporter overall structure (#1142) vor 4 Jahren
README.md 19555094c1 [exporter/datadog] fix(docs): typo with especially (#28996) vor 1 Jahr
config.go 546340df7a [exporter/datadog] Deprecate peer_service_aggregation in favor of peer_tags_aggregation (#29089) vor 1 Jahr
config_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) vor 1 Jahr
config_warnings.go 546340df7a [exporter/datadog] Deprecate peer_service_aggregation in favor of peer_tags_aggregation (#29089) vor 1 Jahr
config_warnings_test.go 546340df7a [exporter/datadog] Deprecate peer_service_aggregation in favor of peer_tags_aggregation (#29089) vor 1 Jahr
doc.go 5133f4ccd6 [chore] use license shortform (#22052) vor 1 Jahr
examples_test.go e51f5c116b exporter/datadogexporter: enhance example (#24231) vor 1 Jahr
factory.go 5c69f33c6d exporter/datadog: disable APM stats via feature flag (#28616) vor 1 Jahr
factory_test.go 6df57dca30 [exporter/datadog] Add config trace_buffer (#28582) vor 1 Jahr
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) vor 1 Jahr
go.sum 40b485f08a Update core for v0.90.0 release (#29539) vor 1 Jahr
hostmetadata.go 5133f4ccd6 [chore] use license shortform (#22052) vor 1 Jahr
logs_exporter.go 5e25c8b200 [exporter/datadog] Send host metadata on change, refactor main host metadata sending (#25145) vor 1 Jahr
logs_exporter_test.go ff6085870e [chore] Upgrade datadog-agent and mapping go versions and fix breaking changes (#24674) vor 1 Jahr
metadata.yaml b9196bcf12 [exporter/datadogexporter] Update CODEOWNERS (#24660) vor 1 Jahr
metrics_exporter.go e0277224ca [chore][exporter/datadogexporter] use errors.Join instead of go.uber.org/multierr (#27888) vor 1 Jahr
metrics_exporter_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) vor 1 Jahr
traces_exporter.go 546340df7a [exporter/datadog] Deprecate peer_service_aggregation in favor of peer_tags_aggregation (#29089) vor 1 Jahr
traces_exporter_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) vor 1 Jahr
zaplogger.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) vor 1 Jahr

README.md

Datadog Exporter

Status
Stability alpha: logs
beta: traces, metrics
Distributions contrib, aws, observiq
Issues Open issues Closed issues
Code Owners @mx-psi, @gbbr, @dineshg13, @liustanley, @songy23, @mackjmr

Please review the Collector's security documentation, which contains recommendations on securing sensitive information such as the API key required by this exporter.

Visit the official documentation for usage instructions.

FAQs

Why am I getting errors 413 - Request Entity Too Large, how do I fix it?

This error indicates the payload size sent by the Datadog exporter exceeds the size limit (see previous examples https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/16834, https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/17566).

This is usually caused by the pipeline batching too many telemetry data before sending to the Datadog exporter. To fix that, try lowering send_batch_size and send_batch_max_size in your batchprocessor config. You might want to have a separate batch processor dedicated for datadog exporter if other exporters expect a larger batch size, e.g.

processors:
  batch:  # To be used by other exporters
    timeout: 1s
    # Default value for send_batch_size is 8192
  batch/datadog:
    send_batch_max_size: 100
    send_batch_size: 10
    timeout: 10s
...
service:
  pipelines:
    metrics:
      receivers: ...
      processors: [batch/datadog]
      exporters: [datadog]

The exact values for send_batch_size and send_batch_max_size depends on your specific workload. Also note that, Datadog intake has different payload size limits for the 3 signal types:

Fall back to the Zorkian metric client with feature gate

Since v0.69.0, the Datadog exporter has switched to use the native metric client datadog-api-client-go for metric export instead of Zorkian client by default. While datadog-api-client-go fixed several issues that are present in Zorkian client, there is a performance regression with it compared to Zorkian client especially under high metric volume. If you observe memory or throughput issues in the Datadog exporter with datadog-api-client-go, you can configure the Datadog exporter to fall back to the Zorkian client by disabling the feature gate exporter.datadogexporter.metricexportnativeclient, e.g.

otelcol --config=config.yaml --feature-gates=-exporter.datadogexporter.metricexportnativeclient

Note that we are currently migrating the Datadog metrics exporter to use the metrics serializer instead. The feature flag exporter.datadogexporter.metricexportnativeclient will be deprecated and eventually removed in the future, following the feature lifecycle.