diff --git a/processor/resourcedetectionprocessor/README.md b/processor/resourcedetectionprocessor/README.md index 740fa103f5c4..66c6e6773852 100644 --- a/processor/resourcedetectionprocessor/README.md +++ b/processor/resourcedetectionprocessor/README.md @@ -52,7 +52,7 @@ to read resource information from the [GCE metadata server](https://cloud.google ## Configuration ```yaml -# a list of resource detectors to run, valid options are: "env", "gce", "ec2" +# a list of resource detectors to run, valid options are: "env", "gce", "ec2", "ecs" detectors: [ ] # determines if existing resource attributes should be overridden or preserved, defaults to true override: diff --git a/processor/resourcedetectionprocessor/testdata/config.yaml b/processor/resourcedetectionprocessor/testdata/config.yaml index 84a11af8d22c..b30ec235c825 100644 --- a/processor/resourcedetectionprocessor/testdata/config.yaml +++ b/processor/resourcedetectionprocessor/testdata/config.yaml @@ -11,6 +11,10 @@ processors: detectors: [env, ec2] timeout: 2s override: false + resourcedetection/ecs: + detectors: [env, ecs] + timeout: 2s + override: false exporters: exampleexporter: @@ -20,7 +24,8 @@ service: metrics: receivers: [examplereceiver] processors: - # Choose one depending on your cloud provider: + # Choose one depending on your cloud provider and environment: # - resourcedetection/gce # - resourcedetection/ec2 + # - resourcedetection/ecs exporters: [exampleexporter]