From 8f483e39971415a63780d31873369157dbbe1307 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Tue, 31 Oct 2023 16:52:30 -0400 Subject: [PATCH 1/3] [chore][exporter/datadog] Add a section about how to switch to Zorkian client --- exporter/datadogexporter/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/exporter/datadogexporter/README.md b/exporter/datadogexporter/README.md index 94de8e36489b..954904dc5d0c 100644 --- a/exporter/datadogexporter/README.md +++ b/exporter/datadogexporter/README.md @@ -50,6 +50,12 @@ The exact values for `send_batch_size` and `send_batch_max_size` depends on your - Log intake: https://docs.datadoghq.com/api/latest/logs/ - Metrics V2 intake: https://docs.datadoghq.com/api/latest/metrics/#submit-metrics +### Fall back to the Zorkian metric client with feature gate + +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. +``` +otelcol --config=config.yaml --feature-gates=-exporter.datadogexporter.metricexportnativeclient +``` [beta]:https://github.com/open-telemetry/opentelemetry-collector#beta [alpha]:https://github.com/open-telemetry/opentelemetry-collector#alpha From ecbfd75731df4238027d3b92e28022a7b2dd93be Mon Sep 17 00:00:00 2001 From: Yang Song Date: Thu, 2 Nov 2023 09:59:35 -0400 Subject: [PATCH 2/3] Update README.md --- exporter/datadogexporter/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exporter/datadogexporter/README.md b/exporter/datadogexporter/README.md index 954904dc5d0c..0a9384a26f3d 100644 --- a/exporter/datadogexporter/README.md +++ b/exporter/datadogexporter/README.md @@ -56,6 +56,7 @@ Since [v0.69.0](https://github.com/open-telemetry/opentelemetry-collector-contri ``` 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 evetually removed in the future, following the [feature lifecycle](https://github.com/open-telemetry/opentelemetry-collector/tree/main/featuregate#feature-lifecycle). [beta]:https://github.com/open-telemetry/opentelemetry-collector#beta [alpha]:https://github.com/open-telemetry/opentelemetry-collector#alpha From fe99f70d149c6623380de7ff84d99e26debcd902 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Thu, 2 Nov 2023 10:13:28 -0400 Subject: [PATCH 3/3] Update exporter/datadogexporter/README.md Co-authored-by: Pablo Baeyens --- exporter/datadogexporter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/datadogexporter/README.md b/exporter/datadogexporter/README.md index 0a9384a26f3d..5a4922cb8572 100644 --- a/exporter/datadogexporter/README.md +++ b/exporter/datadogexporter/README.md @@ -56,7 +56,7 @@ Since [v0.69.0](https://github.com/open-telemetry/opentelemetry-collector-contri ``` 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 evetually removed in the future, following the [feature lifecycle](https://github.com/open-telemetry/opentelemetry-collector/tree/main/featuregate#feature-lifecycle). +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). [beta]:https://github.com/open-telemetry/opentelemetry-collector#beta [alpha]:https://github.com/open-telemetry/opentelemetry-collector#alpha