1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-21 14:39:15 +00:00

gcloud: Thu Sep 8 09:21:50 UTC 2022

This commit is contained in:
Automated 2022-09-08 09:21:50 +00:00
parent 6749f65ca2
commit e7bec9b31b
Failed to extract signature
154 changed files with 2457 additions and 577 deletions

View file

@ -33,6 +33,12 @@ EXAMPLES
how to configure metrics can be found at:
https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.
To create a bucket log-based metric, run:
$ gcloud alpha logging metrics create my_bucket_metric \
--description="DESCRIPTION" --log-filter="LOG_FILTER" \
--bucket-name="BUCKET_NAME"
POSITIONAL ARGUMENTS
METRIC_NAME
The name of the new metric.

View file

@ -38,6 +38,11 @@ EXAMPLES
Any top-level fields in the LogMetric definition that aren't specified in
the config file will not be updated in the metric.
To update the bucket associated with a bucket log-based metric, run:
$ gcloud alpha logging metrics update my-bucket-metric \
--bucket-name="NEW_BUCKET_NAME"
POSITIONAL ARGUMENTS
METRIC_NAME
The name of the log-based metric to update.