Google Cloud Push

Google Cloud Push

Certified

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.

yaml
type: io.kestra.plugin.gcp.monitoring.Push

Push a custom metric to Cloud Monitoring

yaml
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

The GCP service account to impersonate

Metrics

List of metric payloads, each with metricType, value, and optional labels/kind

Definitions
labelsobject
SubTypestring

Labels

Optional key/value labels

metricKindstring
DefaultGAUGE
Possible Values
GAUGECUMULATIVEDELTA

Metric kind

GAUGE (default), CUMULATIVE, or DELTA

metricTypestring

Metric type

Fully qualified metric type, e.g., custom.googleapis.com/demo/requests_count

valuenumberstring

Metric value

Numeric value to push

Reference (ref) of the pluginDefaults to apply to this task.

The GCP project ID

SubTypestring
Default["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used

The GCP service account

DefaultPT1M

Interval window

Lookback duration used for DELTA/CUMULATIVE intervals; default 1 minute

Total number of metrics pushed