Skip to content

Commit

Permalink
remove unused filter processor (#5805)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Jan 15, 2025
1 parent 34ffda7 commit dfd7d05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
13 changes: 0 additions & 13 deletions cmd/otelcol/config/collector/fargate_config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# This collector config file is designed for use within an ECS task.
# The collector should run in a sidecar container within an ECS task.
config_sources:
env:
defaults:
METRICS_TO_EXCLUDE: []

extensions:
health_check:
endpoint: 0.0.0.0:13133
Expand Down Expand Up @@ -73,14 +68,6 @@ processors:
resourcedetection:
detectors: [ecs]
override: false
# Enables the filter processor with example settings
# Full configuration here: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor
# NOTE: These settings need to be change when using this processor
filter/1:
metrics:
exclude:
match_type: regexp
metric_names: ${env:METRICS_TO_EXCLUDE}
# Optional: The following processor can be used to add a default "deployment.environment" attribute to the logs and
# traces when it's not populated by instrumentation libraries.
# If enabled, make sure to enable this processor in the pipeline below.
Expand Down
14 changes: 1 addition & 13 deletions cmd/otelcol/fips/config/fargate_config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# This collector config file is designed for use within an ECS task.
# The collector should run in a sidecar container within an ECS task.
config_sources:
env:
defaults:
METRICS_TO_EXCLUDE: []

extensions:
health_check:
endpoint: 0.0.0.0:13133
Expand Down Expand Up @@ -70,14 +65,7 @@ processors:
resourcedetection:
detectors: [ecs]
override: false
# Enables the filter processor with example settings
# Full configuration here: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor
# NOTE: These settings need to be change when using this processor
filter/1:
metrics:
exclude:
match_type: regexp
metric_names: ${env:METRICS_TO_EXCLUDE}

# Optional: The following processor can be used to add a default "deployment.environment" attribute to the logs and
# traces when it's not populated by instrumentation libraries.
# If enabled, make sure to enable this processor in the pipeline below.
Expand Down
3 changes: 1 addition & 2 deletions deployments/fargate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ In summary, the default Collector container definition does the following:
- Sets the realm using environment variable `SPLUNK_REALM`.
- Sets the default configuration file path using environment variable `SPLUNK_CONFIG`.

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

0 comments on commit dfd7d05

Please sign in to comment.