Skip to main content
Available on the Enterprise plan. Contact sales to learn more.
Ona provides pre-built Grafana alerts and a dashboard for GCP Runners. These live in the terraform-google-ona-runner repository under the monitoring/ directory and are designed to work with the Prometheus metrics your runner already exposes. Before using these alerts and dashboards, you need to configure metrics collection on your runner. See Custom metrics pipeline for setup instructions.

Prerequisites

  • A deployed GCP Runner with metrics collection enabled
  • A Grafana instance (or compatible alerting system) connected to your Prometheus data source

Dashboard

The repository includes a Grafana dashboard at monitoring/dashboards/gitpod-runner-overview.json.

What it covers

The dashboard uses template variables ($project_id, $region, $runner_name, $instance) so you can filter by deployment.

Import the dashboard

  1. In Grafana, go to Dashboards → Import
  2. Upload gitpod-runner-overview.json from the repository
  3. Select your Prometheus data source
  4. Configure the template variables to match your deployment

Alerts

The repository includes 19 alert definitions at monitoring/alerts/, each in its own folder with an alert.yaml (Grafana-compatible alert rule) and a runbook.md (troubleshooting steps).

Alert overview

Critical — immediate response required

These indicate a service outage or severe degradation.

High — prompt attention required

These indicate degraded performance or functionality.

Medium — monitor and track

These indicate reduced capacity or resource constraints.

Info — optimization opportunities

Import alerts into Grafana

Each alert folder contains an alert.yaml file:
  1. In Grafana, go to Alerting → Alert Rules
  2. Click Import
  3. Upload the alert.yaml from the alert folder you want (e.g., service-down/alert.yaml)
  4. Configure notification channels for the alert’s severity level

Customize thresholds

The default thresholds work for most deployments. Adjust them based on your scale:
  • Smaller deployments may need lower thresholds to catch issues earlier
  • Larger deployments may need higher thresholds to reduce noise
  • Development environments may want less sensitive alerts

Runbooks

Each alert folder also contains a runbook.md with step-by-step troubleshooting instructions. Before using a runbook, set up these environment variables:
The runbooks use gcloud compute ssh commands to inspect the runner instance and include resolution steps and escalation procedures.

Notification channels

Configure notification channels in Grafana based on alert severity:

Next steps