Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions docs/features/GRAFANA_DASHBOARD_METRICS.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,22 @@ Implement a lightweight custom metrics endpoint on each GitHub Actions runner (p
- **Location**: Bash scripts started by `entrypoint.sh` and `entrypoint-chrome.sh`
- **Metrics**: Runner status, job counts, uptime, cache hit rates, job duration

#### 2. Grafana Dashboard JSON - **We Provide**

- **File**: `monitoring/grafana/dashboards/github-runner-dashboard.json`
- **Panels**: 12 panels covering all key metrics
- **Variables**: Filter by runner_name, runner_type
- **Import**: Users import JSON into their Grafana instance
#### 2. Grafana Dashboard JSON Files - **We Provide**

**4 standalone dashboards** in `monitoring/grafana/dashboards/`:

| Dashboard | File | Panels | Focus |
|---|---|---|---|
| Runner Overview | `runner-overview.json` | 12 | Runner status, health, uptime, queue time, navigation |
| DORA Metrics | `dora-metrics.json` | 12 | Deployment Frequency, Lead Time, CFR, MTTR, trends, classification |
| Performance Trends | `performance-trends.json` | 14 | Cache hit rates, CPU/memory, build duration percentiles, queue times |
| Job Analysis | `job-analysis.json` | 16 | Job summary, duration histograms, status breakdown, runner comparison |

- **Variables**: All dashboards filter by `runner_name` and `runner_type` (multi-select)
- **Inter-dashboard links**: Navigation links and Quick Links panel for cross-dashboard navigation
- **Import**: Users import JSON into their Grafana instance, or use provisioning config
- **Provisioning**: `monitoring/grafana/provisioning/dashboards/dashboards.yml` for auto-loading
- **Datasource**: All dashboards use `${DS_PROMETHEUS}` input variable for portability

#### 3. Example Prometheus Config - **We Provide Documentation**

Expand Down
Loading