
Google Cloud Push
CertifiedPush metrics to Cloud Monitoring
Google Cloud Push
Push metrics to Cloud Monitoring
Writes one or more data points to Cloud Monitoring. Supports GAUGE, DELTA, and CUMULATIVE kinds; default window 1 minute for interval-based kinds.
type: io.kestra.plugin.gcp.monitoring.PushExamples
Push a custom metric to Cloud Monitoring
id: gcp_monitoring_push
namespace: company.team
tasks:
- id: push_metric
type: io.kestra.plugin.gcp.monitoring.Push
projectId: "demo-project"
metrics:
- metricType: "custom.googleapis.com/demo/requests_count"
value: 42.0
- metricType: "custom.googleapis.com/demo/latency_ms"
value: 123.4
Properties
impersonatedServiceAccount string
The GCP service account to impersonate
metrics array
Metrics
List of metric payloads, each with metricType, value, and optional labels/kind
io.kestra.plugin.gcp.monitoring.Push-MetricValue
Labels
Optional key/value labels
GAUGEGAUGECUMULATIVEDELTAMetric kind
GAUGE (default), CUMULATIVE, or DELTA
Metric type
Fully qualified metric type, e.g., custom.googleapis.com/demo/requests_count
Metric value
Numeric value to push
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
projectId string
The GCP project ID
scopes array
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used
serviceAccount string
The GCP service account
window string
PT1MInterval window
Lookback duration used for DELTA/CUMULATIVE intervals; default 1 minute
Outputs
count integer
Total number of metrics pushed