GitHub Actions Grafana Dashboard
Import the Pipetrics GitHub Actions Grafana dashboard. Configure PostgreSQL access and investigate runtime, failures, queue delays, and rounded minutes.
Import a GitHub Actions Grafana dashboard
Use the Pipetrics GitHub Actions Grafana dashboard to investigate workflow outcomes, runner minutes, queue delays, and p95 job duration alongside your existing infrastructure metrics. Import dashboard ID 24157 from grafana.com and connect it to your Pipetrics PostgreSQL data source.
You need database connection details before the panels can display data. Importing the template alone does not connect Grafana to your Pipetrics workspace. The dashboard shows execution and usage metrics; use Cost Profiler for modeled dollar costs and billing-category filters.

The overview shows repository success rates, elapsed and rounded job minutes, usage by repository and trigger, and time spent waiting in queues.
Grafana dashboard prerequisites
- A Pipetrics workspace with repositories activated through the GitHub App integration.
- A Grafana instance with permission to configure a PostgreSQL data source and import dashboards. The published revision 1 template lists Grafana
12.1.1; check compatibility if you use a different version. - Network access from the Grafana server to the Pipetrics PostgreSQL warehouse.
- The database host, port, database name, read-only username and password, and required TLS settings.
Obtain the connection details from the person managing your organization's Pipetrics integration. If they are unavailable, contact Pipetrics before continuing. Your GitHub login and GitHub App installation credentials are separate from the database credentials Grafana needs.
Configure the Grafana PostgreSQL data source
- Add a PostgreSQL data source in Grafana. Name it
pipetricsso it is easy to identify during import. - Enter the supplied host and port, database name, username, and password.
- Configure TLS according to the supplied connection requirements. Use certificate verification where supported, and provide the required CA certificate.
- Select Save & test. Resolve connection or authentication errors before importing the dashboard.
The database user should have read-only access to the analytics data. Keep credentials in Grafana's data source configuration; do not put passwords in panel SQL, exported dashboard JSON, screenshots, or version control.
See Grafana's PostgreSQL configuration guide for current connection and TLS options.
Grafana dashboard installation options
Import from grafana.com
- In Grafana choose Dashboards → New → Import.
- Enter dashboard ID
24157or its grafana.com URL, then select Load. - Select your Pipetrics PostgreSQL data source when prompted and choose Import.
- Select a repository and a time range containing collected workflow data. Check that the overview and repository panels populate.
Import a downloaded JSON file
- Download the JSON from the dashboard page. You can also download revision 1 directly for a reproducible starting point.
- Open Dashboards → New → Import and upload the file.
- Map the
DS_PIPETRICSinput to your PostgreSQL data source, then import the dashboard.
Keep a copy of the original JSON before changing panels. A file import is useful when you need a reviewed, version-controlled template. Grafana still needs network access to the database to display data.
Read the GitHub Actions Grafana dashboard metrics
Understand elapsed and rounded minutes
In published revision 1, the GitHub minutes overhead panel derives each job's duration from completed_at - started_at. It returns these calculated fields:
| Field | Calculation | Interpretation |
|---|---|---|
real_minutes | Sum of elapsed job durations in minutes | Aggregate execution time across jobs |
github_minutes | Sum of each job's duration rounded up with CEIL | Rounded usage under the panel's calculation |
overhead_pct | 100 * (github_minutes - real_minutes) / real_minutes | The percentage effect of per-job rounding |
These are calculated query results, not warehouse columns named billed_minutes and actual_minutes. Rounding overhead does not measure idle runner time. The calculation also does not apply runner prices, account-wide included usage, or free billing categories, so it cannot establish your GitHub invoice amount.
Investigate execution volume and queue delay
- Minutes usage by repository and Minutes usage by workflow identify where job minutes accumulate. Inspect execution count and duration before deciding what to optimize.
- Workflow runs by event and GitHub minutes usage by trigger event separate usage from
pull_request,push, and scheduled workflows. - Time spent waiting in queues sums non-negative intervals between job creation and start. A larger total can reflect more jobs, longer waits, or both. Check execution volume and concurrency policies before attributing it to runner capacity.
Review outcomes and p95 job duration
Use Overall repository success rate, Executions by conclusion, and Finished workflow runs by result to investigate outcome changes. The gauge's configured thresholds are visualization settings; choose release criteria that reflect your own requirements.
Workflow jobs time p95 shows the 95th percentile of job duration. Compare similar time ranges and workloads, and review execution count before interpreting a change in the tail.

This repository view shows workflow minutes, outcomes, and p95 job duration. Compare it with the overview queue chart when investigating slow feedback.
Data validity and comparison limits
The public revision 1 duration queries check for populated timestamps but do not explicitly exclude every invalid interval or skipped job. Before comparing this template with Pipetrics summaries or MCP findings, review the panel SQL and the eligibility rules applied to its source data.
For runtime analysis, exclude missing timestamps, skipped jobs, and intervals where completion precedes the start. Preserve valid rerun attempts. The negative rerun durations investigation explains why these distinctions matter. A different time range, aggregation, or eligibility rule can produce different totals without proving either view is correct.
Grafana troubleshooting
- Connection test fails: verify the supplied host, port, credentials, TLS settings, and network access from Grafana's server.
- Panels are empty: confirm that the repository is activated, data has been collected, and the selected repository and time range include executions. Check the panel query inspector for errors.
- Minute totals differ: inspect the panel SQL, per-job rounding, date filters, and runtime eligibility rules. Do not interpret rounded minutes as dollar charges.
- Queue totals rise: compare execution count as well as waiting time. Review job start times before changing runner capacity.
Duplicate panels before editing SQL or thresholds so you can compare your changes with the imported template. Follow Grafana's import documentation if menu names differ in your version.
GitHub Actions Grafana dashboard questions
What metrics are included?
The dashboard includes workflow outcomes, repository success rate, elapsed and rounded job minutes, usage by repository and workflow, trigger events, queue delay, and p95 job duration. Available history depends on the data collected and retained in your Pipetrics workspace.
Does the dashboard require Prometheus?
No. The published dashboard uses the Grafana PostgreSQL data source and the Pipetrics analytics database. You do not need to deploy or maintain a Prometheus exporter for GitHub Actions.
Can I customize the dashboard?
Yes. Duplicate panels, edit SQL, and change thresholds or presentation settings. Grafana alerting availability depends on the panel query and your configuration. Keep the original dashboard as a reference when upgrading the template.
Can the dashboard show GitHub Actions costs?
The published template shows usage minutes. For modeled costs and interactive billing-category, outcome, branch, trigger, and runner filtering, use Pipetrics Cost Profiler. Your GitHub invoice remains the source of truth for actual charges.
Is Grafana an alternative to GitHub Actions?
GitHub Actions executes workflows. Grafana visualizes the execution data collected by Pipetrics and can place those metrics alongside your infrastructure dashboards.
Next steps with the Grafana dashboard
For a financial investigation, continue with GitHub Actions cost monitoring. For slow feedback and regressions, use the performance monitoring guide. Once you identify a workflow, open Pipetrics to investigate its jobs and steps.
GitHub Actions Slack Notifications Tutorial
Add Slack failure alerts to GitHub Actions, report job results, and share notifications through composite actions and reusable workflows.
Pipetrics FAQ: Setup, Access and Data Retention
Pipetrics FAQ covering GitHub Actions monitoring, repository access, Grafana dashboards, modeled costs, and Free and Pro data retention.