From a11e54edd913554bd98d0798271c59967cd33296 Mon Sep 17 00:00:00 2001 From: William Armiros Date: Thu, 22 Oct 2020 18:55:51 -0600 Subject: [PATCH] updated more docs --- processor/resourcedetectionprocessor/README.md | 2 +- processor/resourcedetectionprocessor/testdata/config.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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]