From fa7ac61ee458e35576a618ae73742f3ff2d513d1 Mon Sep 17 00:00:00 2001 From: Stuart Buckingham Date: Tue, 13 Aug 2024 18:40:33 -0500 Subject: [PATCH] Update example in README.md 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.*")' ```