Skip to content

Commit 47f0744

Browse files
authored
Update example in README.md (#358)
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]>
1 parent 098cde0 commit 47f0744

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ Full example
170170
```
171171
stackdriver_exporter \
172172
--google.project-id=my-test-project \
173-
--monitoring.metrics-type-prefixes='pubsub.googleapis.com/subscription' \
174-
--monitoring.metrics-type-prefixes='compute.googleapis.com/instance/cpu' \
173+
--monitoring.metrics-type-prefixes='pubsub.googleapis.com/subscription,compute.googleapis.com/instance/cpu' \
175174
--monitoring.filters='pubsub.googleapis.com/subscription:resource.labels.subscription_id=monitoring.regex.full_match("us-west4.*my-team-subs.*")' \
176175
--monitoring.filters='compute.googleapis.com/instance/cpu:resource.labels.instance=monitoring.regex.full_match("us-west4.*my-team-subs.*")'
177176
```

0 commit comments

Comments
 (0)