Skip to content

Commit a7197f0

Browse files
committed
Stop sending metrics reported by the batch processor
The batch processor metrics are not being used in any default dashboards but signicantly contribute towards metric timeseries created on the backend. - otelcol_processor_batch_batch_send_size - otelcol_processor_batch_timeout_trigger_send
1 parent ba99e9f commit a7197f0

File tree

11 files changed

+28
-603
lines changed

11 files changed

+28
-603
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- (Splunk) On Windows the `SPLUNK_*` environment variables were moved from the machine scope to the collector service scope. This avoids collisions with other agents and instrumentation. If any of these environment variables are required by your apps, please adopt them directly. ([#3930](https://github.com/signalfx/splunk-otel-collector/pull/3930))
1212
- `mysql` discovery now uses the OpenTelemetry Collector Contrib receiver by default instead of the smartagent receiver.
13+
- (Splunk) Stop sending internal Collector metrics from the batch processor. Drop them at the prometheus receiver level. ([#4273](https://github.com/signalfx/splunk-otel-collector/pull/4273))
1314

1415
## v0.92.0
1516

cmd/otelcol/config/collector/agent_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ receivers:
8585
- source_labels: [ __name__ ]
8686
regex: 'otelcol_http_.*'
8787
action: drop
88+
- source_labels: [ __name__ ]
89+
regex: 'otelcol_processor_batch_.*'
90+
action: drop
8891
smartagent/signalfx-forwarder:
8992
type: signalfx-forwarder
9093
listenAddress: "${SPLUNK_LISTEN_INTERFACE}:9080"

cmd/otelcol/config/collector/ecs_ec2_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ receivers:
7272
- source_labels: [ __name__ ]
7373
regex: 'otelcol_http_.*'
7474
action: drop
75+
- source_labels: [ __name__ ]
76+
regex: 'otelcol_processor_batch_.*'
77+
action: drop
7578
signalfx:
7679
endpoint: 0.0.0.0:9943
7780
# Whether to preserve incoming access token and use instead of exporter token

cmd/otelcol/config/collector/fargate_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ receivers:
5151
- source_labels: [ __name__ ]
5252
regex: 'otelcol_http_.*'
5353
action: drop
54+
- source_labels: [ __name__ ]
55+
regex: 'otelcol_processor_batch_.*'
56+
action: drop
5457
signalfx:
5558
endpoint: 0.0.0.0:9943
5659
# Whether to preserve incoming access token and use instead of exporter token

cmd/otelcol/config/collector/full_config_linux.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ receivers:
145145
- source_labels: [ __name__ ]
146146
regex: 'otelcol_http_.*'
147147
action: drop
148+
- source_labels: [ __name__ ]
149+
regex: 'otelcol_processor_batch_.*'
150+
action: drop
148151
# Enables the prometheus simple receiver with default settings
149152
# - grpc (default endpoint = 0.0.0.0:9090)
150153
# Full configuration here: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/simpleprometheusreceiver

cmd/otelcol/config/collector/gateway_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ receivers:
5050
- source_labels: [ __name__ ]
5151
regex: 'otelcol_http_.*'
5252
action: drop
53+
- source_labels: [ __name__ ]
54+
regex: 'otelcol_processor_batch_.*'
55+
action: drop
5356
sapm:
5457
endpoint: "${SPLUNK_LISTEN_INTERFACE}:7276"
5558
# Whether to preserve incoming access token and use instead of exporter token

cmd/otelcol/config/collector/otlp_config_linux.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ receivers:
3434
- source_labels: [ __name__ ]
3535
regex: 'otelcol_http_.*'
3636
action: drop
37+
- source_labels: [ __name__ ]
38+
regex: 'otelcol_processor_batch_.*'
39+
action: drop
3740
sapm:
3841
endpoint: 0.0.0.0:7276
3942
# Whether to preserve incoming access token and use instead of exporter token

cmd/otelcol/config/collector/upstream_agent_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ receivers:
8383
- source_labels: [ __name__ ]
8484
regex: 'otelcol_http_.*'
8585
action: drop
86+
- source_labels: [ __name__ ]
87+
regex: 'otelcol_processor_batch_.*'
88+
action: drop
8689
signalfx:
8790
endpoint: 0.0.0.0:9943
8891
zipkin:

0 commit comments

Comments
 (0)