Skip to content

Commit 0f57153

Browse files
Mark Stumpfpjanotti
authored andcommitted
Unset exclusion and translations by default in gateway config (#350)
In our other default agent config, we are recommending sending to the gateway via OTLP. If agents are sending OTLP to the gateway, we need to do exclusions and translations at the gateway, as these would only occur if they were using the signalfx exporter.
1 parent 8cc290f commit 0f57153

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/otelcol/config/collector/gateway_config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ exporters:
7070
signalfx:
7171
access_token: "${SPLUNK_ACCESS_TOKEN}"
7272
realm: "${SPLUNK_REALM}"
73-
# no need to translate/exclude metrics when using as a gateway
74-
# metrics should be translated at agent
75-
translation_rules: []
76-
exclude_metrics: []
73+
## Uncomment below if your agents are sending via signalfx exporter
74+
## to avoid double translations and exclusions.
75+
#translation_rules: []
76+
#exclude_metrics: []
7777
# Debug
7878
#logging:
7979
#loglevel: debug

0 commit comments

Comments
 (0)