From 25dac384da44e2b1298f80d2546c796bef46b06a Mon Sep 17 00:00:00 2001 From: Lujie Duan Date: Wed, 1 Nov 2023 02:41:47 +0000 Subject: [PATCH] Update comments --- confgenerator/confgenerator.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confgenerator/confgenerator.go b/confgenerator/confgenerator.go index c6615dbf7ae..b1e298e9eb2 100644 --- a/confgenerator/confgenerator.go +++ b/confgenerator/confgenerator.go @@ -62,6 +62,8 @@ func googleManagedPrometheusExporter(userAgent string) otel.Component { // (b/233372619) Due to a constraint in the Monarch API for retrying successful data points, // leaving this enabled is causing adverse effects for some customers. Google OpenTelemetry team // recommends disabling this. + // (b/308675258) Need to update the `googlemanagedprometheus` exporter in otelopscol to deprecate this + // option "retry_on_failure": map[string]interface{}{ "enabled": false, }, @@ -75,6 +77,8 @@ func googleManagedPrometheusExporter(userAgent string) otel.Component { // OTLP Gauge metrics ingested by the Ops Agent, that have this key will also be treated as untyped prometheus metrics // if it is being exported to GMP. As such, this knob can be set to true. "untyped_double_export": true, + // The exporter has the config option addMetricSuffixes with default value true. It will add Prometheus + // style suffixes to metric names, e.g., `_total` for a counter; set to false to collect metrics as is "metric": map[string]interface{}{ "add_metric_suffixes": false, },