gcloud_beta_error-reporting_events_report (1)
NAME
- gcloud beta error-reporting events report - report an error
SYNOPSIS
-
gcloud beta error-reporting events report --service=SERVICE (--message=MESSAGE | --message-file=MESSAGE_FILE) [--service-version=SERVICE_VERSION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) gcloud beta error-reporting events report is used to report errors
The error message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Details about supported languages and formats can be found at cloud.google.com/error-reporting/docs/formatting-error-messages
REQUIRED FLAGS
-
- --service=SERVICE
-
The name of the service that generated the error
-
Exactly one of these must be specified:
-
- --message=MESSAGE
-
Inline details of the error
- --message-file=MESSAGE_FILE
-
File containing details of the error
-
OPTIONAL FLAGS
-
- --service-version=SERVICE_VERSION
-
The release version of the service
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To report an error, run:
-
$ gcloud beta error-reporting events report --service service-name \
--message error-message
or:
-
$ gcloud beta error-reporting events report --service service-name \
--message-file error-message.ext.
NOTES
This command is currently in BETA and may change without notice.