Skip to content

Commit

Permalink
updated more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
William Armiros committed Oct 23, 2020
1 parent 7d57544 commit a11e54e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processor/resourcedetectionprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: [ <string> ]
# determines if existing resource attributes should be overridden or preserved, defaults to true
override: <bool>
Expand Down
7 changes: 6 additions & 1 deletion processor/resourcedetectionprocessor/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ processors:
detectors: [env, ec2]
timeout: 2s
override: false
resourcedetection/ecs:
detectors: [env, ecs]
timeout: 2s
override: false

exporters:
exampleexporter:
Expand All @@ -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]

0 comments on commit a11e54e

Please sign in to comment.