Report Event

error_reporting.report_event
ActionGoogle Cloudconnection required

Calls Error Reporting POST /projects/{p}/events:report.

Report an error event to Cloud Error Reporting.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Error Reporting
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
service
Service name (serviceContext.service).
stringYes———
version
Service version.
stringNo———
message
Error message; include a stack trace for grouping.
stringYes———
user
Affected user id (context.user).
stringNo———
http_request
HttpRequestContext JSON (method, url, ...).
objectNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
service
string—
{
  "ok": false,
  "service": ""
}

Related Google Cloud Error Reporting nodes

See Report Event run in a workflow.

In a technical demo we add the Google Cloud Error Reporting connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.