https://github.com/grafana/github-datasource
The GitHub data source lets you visualize GitHub data in Grafana dashboards.
https://github.com/grafana/github-datasource
github-datasource grafana grafana-datasource grafana-plugin grafana-plugins group-datasources squad-big-tent-plugins
Last synced: 3 months ago
JSON representation
The GitHub data source lets you visualize GitHub data in Grafana dashboards.
- Host: GitHub
- URL: https://github.com/grafana/github-datasource
- Owner: grafana
- License: apache-2.0
- Created: 2020-03-27T15:11:28.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-12-13T00:06:43.000Z (3 months ago)
- Last Synced: 2025-12-13T00:54:06.255Z (3 months ago)
- Topics: github-datasource, grafana, grafana-datasource, grafana-plugin, grafana-plugins, group-datasources, squad-big-tent-plugins
- Language: Go
- Homepage: https://grafana.com/docs/plugins/grafana-github-datasource/latest/
- Size: 113 MB
- Stars: 289
- Watchers: 143
- Forks: 66
- Open Issues: 73
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-repositories - grafana/github-datasource - The GitHub data source lets you visualize GitHub data in Grafana dashboards. (Go)
README
# Grafana GitHub data source
The GitHub data source plugin for Grafana lets you to query the GitHub API in Grafana so you can visualize your GitHub repositories and projects.
## Documentation
For the plugin documentation, visit plugin documentation website
## Video Tutorial
Watch this video to learn more about setting up the Grafana GitHub data source plugin:
[](https://youtu.be/DW693S3cO48 "Grafana GitHub data source plugin")
> [!TIP]
>
> ## Give it a try using Grafana Play
>
> With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development. This feature can be seen on [GitHub data source plugin demo](https://play.grafana.org/d/d5b56357-1a57-4821-ab27-16fdf79cab57/github3a-queries-and-multi-variables).
## GitHub API V4 (GraphQL)
This data source uses the [`githubv4` package](https://github.com/shurcooL/githubv4), which is under active development.
## Private data source connect - Only for Grafana Cloud users.
Establishes a private, secured connection between a Grafana Cloud stack and data sources within a private network. Use the drop-down to locate the PDC URL. For setup instructions, refer to [Private data source connect (PDC)](https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/) and [Configure PDC](https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/configure-pdc/#configure-grafana-private-data-source-connect-pdc). Click Manage private data source connect to open your PDC connection page and view your configuration details.
## Frequently Asked Questions
- **Why does it sometimes take up to 5 minutes for my new pull request / new issue / new commit to show up?**
We have aggressive caching enabled due to GitHub's rate limiting policies. When selecting a time range like "Last hour", a combination of the queries for each panel and the time range is cached temporarily.
- **Why are there two selection options for Pull Requests and Issue times when creating annotations?**
There are two times that affect an annotation:
- The time range of the dashboard or panel
- The time that should be used to display the event on the graph
The first selection is used to filter the events that display on the graph. For example, if you select "closed at", only events that were "closed" in your dashboard's time range will be displayed on the graph.
The second selection is used to determine where on the graph the event should be displayed.
Typically, these will be the same, however there are some cases where you may want them to be different.