diff --git a/cmd/otelcol/config/collector/fargate_config.yaml b/cmd/otelcol/config/collector/fargate_config.yaml index cd7db50c7e..ac4410b719 100644 --- a/cmd/otelcol/config/collector/fargate_config.yaml +++ b/cmd/otelcol/config/collector/fargate_config.yaml @@ -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 @@ -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. diff --git a/cmd/otelcol/fips/config/fargate_config.yaml b/cmd/otelcol/fips/config/fargate_config.yaml index 5774f401d3..82ca9e3b37 100644 --- a/cmd/otelcol/fips/config/fargate_config.yaml +++ b/cmd/otelcol/fips/config/fargate_config.yaml @@ -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 @@ -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. diff --git a/deployments/fargate/README.md b/deployments/fargate/README.md index 4dd9f548c3..f9bfe78f29 100644 --- a/deployments/fargate/README.md +++ b/deployments/fargate/README.md @@ -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)