Skip to content

Commit

Permalink
Update example in README.md (#358)
Browse files Browse the repository at this point in the history
Running the example results in `stackdriver_exporter: error: flag 'monitoring.metrics-type-prefixes' cannot be repeated, try --help
`

Signed-off-by: Stuart Buckingham <[email protected]>
  • Loading branch information
stuart23 authored Aug 30, 2024
1 parent 098cde0 commit 47f0744
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ Full example
```
stackdriver_exporter \
--google.project-id=my-test-project \
--monitoring.metrics-type-prefixes='pubsub.googleapis.com/subscription' \
--monitoring.metrics-type-prefixes='compute.googleapis.com/instance/cpu' \
--monitoring.metrics-type-prefixes='pubsub.googleapis.com/subscription,compute.googleapis.com/instance/cpu' \
--monitoring.filters='pubsub.googleapis.com/subscription:resource.labels.subscription_id=monitoring.regex.full_match("us-west4.*my-team-subs.*")' \
--monitoring.filters='compute.googleapis.com/instance/cpu:resource.labels.instance=monitoring.regex.full_match("us-west4.*my-team-subs.*")'
```
Expand Down

0 comments on commit 47f0744

Please sign in to comment.