whatisgithub

What is github-datasource?

grafana/github-datasource — explained in plain English

Analysis updated 2026-08-02 · repo last pushed 2026-08-02

307GoAudience · ops devopsComplexity · 3/5ActiveSetup · moderate

In one sentence

A Grafana plugin that pulls GitHub data like pull requests, issues, and commits into your Grafana dashboards so you can visualize GitHub activity alongside your existing metrics.

Mindmap

mindmap
  root((repo))
    What it does
      Pulls GitHub data
      Displays in Grafana
      Annotations on charts
    Tech stack
      Go
      Grafana plugin
      GitHub API
    Use cases
      Dev pipeline health
      Deployment frequency
      Overlay GitHub events
    Audience
      Engineering managers
      DevOps teams
      Grafana users
    Tradeoffs
      Aggressive caching
      API library evolving

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a dashboard showing deployment frequency alongside open pull requests and recent issues.

USE CASE 2

Overlay GitHub events like pull request opens and closes as annotations on time-series graphs.

USE CASE 3

Monitor GitHub repository activity within existing Grafana dashboards without switching tools.

What is it built with?

GoGrafanaGitHub API

How does it compare?

grafana/github-datasourceefforg/yayatj/go-naturaldate
Stars307303315
LanguageGoGoGo
Last pushed2026-08-022023-12-272024-05-17
MaintenanceActiveDormantDormant
Setup difficultymoderatehardeasy
Complexity3/54/52/5
Audienceops devopsops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an existing Grafana instance and a GitHub access token for API authentication.

The explanation does not specify a license, this plugin is part of the Grafana ecosystem and may be subject to Grafana's licensing terms.

So what is it?

The grafana/github-datasource plugin lets you pull data from your GitHub repositories and display it as charts, graphs, and panels inside Grafana dashboards. If your team already uses Grafana to monitor metrics and you want to see GitHub activity, like pull requests, issues, or commits, alongside your other data, this connects the two. Under the hood, it queries GitHub's API and translates the results into visualizations you can arrange on a dashboard. You can try a live demo on Grafana Play before installing anything. For Grafana Cloud users, there's an option to establish a private, secured connection to GitHub data sources inside a private network, which is useful if you're working with sensitive internal repositories. This is built for engineering managers, DevOps teams, or anyone who already lives in Grafana and wants GitHub context without switching tools. A practical use case: you could build a dashboard that shows deployment frequency alongside open pull requests and recent issues, giving you a single view of your development pipeline's health. You can also overlay GitHub events as annotations on existing time-series graphs, for instance, marking when a pull request was opened or closed directly on a performance chart. One notable tradeoff is caching. New pull requests, issues, or commits can take up to five minutes to appear because the plugin aggressively caches query results to avoid hitting GitHub's rate limits. The README also notes that the underlying GitHub API library it relies on is still under active development, so some behavior may evolve over time. There's flexibility in how annotations display: you can filter events by one time attribute (like "closed at") and position them on the graph using a different one, which helps when you want to see when something happened versus when it was resolved.

Copy-paste prompts

Prompt 1
I have Grafana set up and want to visualize my GitHub pull request and issue activity. Walk me through installing and configuring the github-datasource plugin to display GitHub data on my dashboards.
Prompt 2
Help me configure Grafana annotations using the github-datasource plugin so that pull request open and close events appear as markers on my performance time-series charts.
Prompt 3
I want to create a Grafana dashboard panel that shows the number of open issues and pull requests from my GitHub repo over time using the github-datasource plugin. What query and visualization settings should I use?

Frequently asked questions

What is github-datasource?

A Grafana plugin that pulls GitHub data like pull requests, issues, and commits into your Grafana dashboards so you can visualize GitHub activity alongside your existing metrics.

What language is github-datasource written in?

Mainly Go. The stack also includes Go, Grafana, GitHub API.

Is github-datasource actively maintained?

Active — commit in last 30 days (last push 2026-08-02).

What license does github-datasource use?

The explanation does not specify a license, this plugin is part of the Grafana ecosystem and may be subject to Grafana's licensing terms.

How hard is github-datasource to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is github-datasource for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.