---
title: "A Story of Open-source GitHub Activity using ClickHouse + Grafana"
description: "A Grafana dashboard backed by ClickHouse analyzes the Grafana repository's ten-year history as a richer alternative to GitHub's Pulse analytics."
url: "https://swe.quest/articles/a-story-of-open-source-github-activity-using-clickhouse-grafana-e5bfce9fb90140f3"
canonical: "https://clickhouse.com/blog/introduction-to-clickhouse-and-grafana-webinar"
source: "ClickHouse"
published: "2023-02-10"
difficulty: "medium"
kind: "How-to"
reading_minutes: 4
tags: ["analytics","observability","sql","open-source"]
---

# A Story of Open-source GitHub Activity using ClickHouse + Grafana

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-02-10, 4 min read, How-to. Original: [https://clickhouse.com/blog/introduction-to-clickhouse-and-grafana-webinar](https://clickhouse.com/blog/introduction-to-clickhouse-and-grafana-webinar)

## Summary

A Grafana dashboard backed by ClickHouse analyzes the Grafana repository's ten-year history as a richer alternative to GitHub's Pulse analytics. It combines the GH Archive event dataset (5.5B+ events covering stars, issues, PRs and forks) with commit, file-change and line-level history generated by ClickHouse's git-import tool. Panels use Grafana macros such as $\_\_timeFilter and $\_\_timeInterval to respect dashboard time ranges, with a sample top-committers heatmap query. Findings include founder Torkel's continued heavy commit activity, alerting and Docker support as the most popular issues, and stargazers of both projects typically starring Grafana first.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- Grafana dashboards

## Keywords

ClickHouse, Grafana, GH Archive, git-import, GitHub

## Related posts

- [ClickHouse Newsletter July 2023: Seeing Clearly](https://swe.quest/articles/clickhouse-newsletter-july-2023-seeing-clearly-a153c241f5923252.md): ClickHouse · 2023-07-24 · Medium · 10 min read · Analytics & OLAP, SQL, Databases
  ClickHouse v23.6 adds 10 features, 12 performance optimisations and 31 bug fixes.
- [Building Real-time Analytics Apps with ClickHouse and Hex](https://swe.quest/articles/building-real-time-analytics-apps-with-clickhouse-and-hex-28d6bbb0cc85e5a5.md): ClickHouse · 2023-04-07 · Medium · 15 min read · Analytics & OLAP, Data pipelines, Scheduling, Consistency models
  ClickHouse's git-import tool was run across the 50k most-starred GitHub repositories using a queue-worker model, with the job queue implemented as a KeeperMap table instead of an external queue like SQS.
- [How GitLab serves sub-second analytics to 50 million users](https://swe.quest/articles/how-gitlab-serves-sub-second-analytics-to-50-million-users-cabf627f25c869fd.md): ClickHouse · 2025-10-21 · Easy · 10 min read · Analytics & OLAP, PostgreSQL, Databases, Scaling
  GitLab moved its user-facing product analytics from Postgres to ClickHouse after dashboards repeatedly hit its 15-second performance ceiling.
- [Adding Analytics to an Application in under 10 minutes with ClickHouse Cloud Query Endpoints](https://swe.quest/articles/adding-analytics-to-an-application-in-under-10-minutes-with-clickhouse-cloud-8026d8ff6e788ea8.md): ClickHouse · 2024-09-24 · Medium · 9 min read · Analytics & OLAP, API design, SQL, React
  ClickHouse Cloud's beta API endpoints turn a saved parameterized SQL query into a secure HTTP POST endpoint, moving SQL out of application code so queries can change without redeploying.
- [Window and array functions for Git commit sequences](https://swe.quest/articles/window-and-array-functions-for-git-commit-sequences-a4af91b5110ad48f.md): ClickHouse · 2022-11-16 · Medium · 7 min read · SQL, Analytics & OLAP
  ClickHouse window and array functions can find the longest streak of consecutive commit days per author in the ClickHouse Git repository.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
