From 47f07444d4de64eb8744854ab154497a7791bc3b Mon Sep 17 00:00:00 2001 From: Stuart Buckingham Date: Fri, 30 Aug 2024 08:11:14 -0500 Subject: [PATCH] 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 --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 82be9fd..a7e7e67 100644 --- a/README.md +++ b/README.md @@ -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.*")' ```