Skip to content

Commit 3e0a21c

Browse files
songy23mx-psi
andauthored
[chore][exporter/datadog] Add a section about how to switch to Zorkian (#28836)
**Description:** Update README about disabling the feature gate of native metric client and falling back to Zorkian client. --------- Co-authored-by: Pablo Baeyens <[email protected]>
1 parent 4f5952a commit 3e0a21c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

exporter/datadogexporter/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ The exact values for `send_batch_size` and `send_batch_max_size` depends on your
5050
- Log intake: https://docs.datadoghq.com/api/latest/logs/
5151
- Metrics V2 intake: https://docs.datadoghq.com/api/latest/metrics/#submit-metrics
5252

53+
### Fall back to the Zorkian metric client with feature gate
54+
55+
Since [v0.69.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/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 espeicially 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.
56+
```
57+
otelcol --config=config.yaml --feature-gates=-exporter.datadogexporter.metricexportnativeclient
58+
```
59+
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](https://github.com/open-telemetry/opentelemetry-collector/tree/main/featuregate#feature-lifecycle).
5360

5461
[beta]:https://github.com/open-telemetry/opentelemetry-collector#beta
5562
[alpha]:https://github.com/open-telemetry/opentelemetry-collector#alpha

0 commit comments

Comments
 (0)