Skip to content

Commit dfd7d05

Browse files
authored
remove unused filter processor (#5805)
1 parent 34ffda7 commit dfd7d05

File tree

3 files changed

+2
-28
lines changed

3 files changed

+2
-28
lines changed

cmd/otelcol/config/collector/fargate_config.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# This collector config file is designed for use within an ECS task.
22
# The collector should run in a sidecar container within an ECS task.
3-
config_sources:
4-
env:
5-
defaults:
6-
METRICS_TO_EXCLUDE: []
7-
83
extensions:
94
health_check:
105
endpoint: 0.0.0.0:13133
@@ -73,14 +68,6 @@ processors:
7368
resourcedetection:
7469
detectors: [ecs]
7570
override: false
76-
# Enables the filter processor with example settings
77-
# Full configuration here: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor
78-
# NOTE: These settings need to be change when using this processor
79-
filter/1:
80-
metrics:
81-
exclude:
82-
match_type: regexp
83-
metric_names: ${env:METRICS_TO_EXCLUDE}
8471
# Optional: The following processor can be used to add a default "deployment.environment" attribute to the logs and
8572
# traces when it's not populated by instrumentation libraries.
8673
# If enabled, make sure to enable this processor in the pipeline below.

cmd/otelcol/fips/config/fargate_config.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# This collector config file is designed for use within an ECS task.
22
# The collector should run in a sidecar container within an ECS task.
3-
config_sources:
4-
env:
5-
defaults:
6-
METRICS_TO_EXCLUDE: []
7-
83
extensions:
94
health_check:
105
endpoint: 0.0.0.0:13133
@@ -70,14 +65,7 @@ processors:
7065
resourcedetection:
7166
detectors: [ecs]
7267
override: false
73-
# Enables the filter processor with example settings
74-
# Full configuration here: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor
75-
# NOTE: These settings need to be change when using this processor
76-
filter/1:
77-
metrics:
78-
exclude:
79-
match_type: regexp
80-
metric_names: ${env:METRICS_TO_EXCLUDE}
68+
8169
# Optional: The following processor can be used to add a default "deployment.environment" attribute to the logs and
8270
# traces when it's not populated by instrumentation libraries.
8371
# If enabled, make sure to enable this processor in the pipeline below.

deployments/fargate/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ In summary, the default Collector container definition does the following:
5353
- Sets the realm using environment variable `SPLUNK_REALM`.
5454
- Sets the default configuration file path using environment variable `SPLUNK_CONFIG`.
5555

56-
Assign a stringified array of metrics you want excluded to environment variable
57-
`METRICS_TO_EXCLUDE`. You can set the memory limit for the memory limiter processor using
56+
You can set the memory limit for the memory limiter processor using
5857
environment variable `SPLUNK_MEMORY_LIMIT_MIB`. The default memory limit is 512 MiB. For
5958
more information about the memory limiter processor, see
6059
[here](https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/README.md)

0 commit comments

Comments
 (0)