Files with excluded extensions are not shown; configure exclude_exts in gitstats.conf.
| Extension | Files | Lines | Share | Lines/file | |
|---|---|---|---|---|---|
| go | 747 | 403,094 | 65.2% | 539 | |
| yml | 324 | 45,516 | 7.4% | 140 | |
| yaml | 65 | 34,266 | 5.5% | 527 | |
| json | 60 | 27,681 | 4.5% | 461 | |
| tsx | 148 | 23,965 | 3.9% | 161 | |
| ts | 100 | 21,923 | 3.5% | 219 | |
| md | 68 | 20,170 | 3.3% | 296 | |
| test | 22 | 13,231 | 2.1% | 601 | |
| txt | 15 | 10,174 | 1.6% | 678 | |
| js | 12 | 5,185 | 0.8% | 432 | |
| sum | 5 | 1,802 | 0.3% | 360 | |
| libsonnet | 4 | 1,434 | 0.2% | 358 | |
| y | 1 | 1,413 | 0.2% | 1,413 | |
| sh | 16 | 1,070 | 0.2% | 66 | |
| css | 22 | 738 | 0.1% | 33 | |
| scss | 6 | 729 | 0.1% | 121 | |
| proto | 4 | 723 | 0.1% | 180 | |
| mod | 5 | 555 | 0.1% | 111 | |
| grammar | 1 | 529 | 0.1% | 529 | |
| common | 1 | 441 | 0.1% | 441 | |
| mjs | 3 | 437 | 0.1% | 145 | |
| old | 1 | 367 | 0.1% | 367 | |
| cjs | 6 | 297 | 0.0% | 49 | |
| l | 3 | 294 | 0.0% | 98 | |
| cer | 5 | 282 | 0.0% | 56 | |
| no extension | 2 | 257 | 0.0% | 128 | |
| svg | 6 | 146 | 0.0% | 24 | |
| key | 4 | 132 | 0.0% | 33 | |
| html | 3 | 101 | 0.0% | 33 | |
| prom | 9 | 94 | 0.0% | 10 | |
| distroless | 1 | 29 | 0.0% | 29 | |
| tmpl | 1 | 18 | 0.0% | 18 | |
| rules | 1 | 10 | 0.0% | 10 | |
| work | 1 | 9 | 0.0% | 9 | |
| lock | 1 | 8 | 0.0% | 8 | |
| jsonnet | 2 | 7 | 0.0% | 3 | |
| xml | 2 | 2 | 0.0% | 1 | |
| png | 2 | — | — | — | |
| ttf | 2 | — | — | — | |
| ico | 1 | — | — | — |
Files in the current tree touched most often across all commits. High-churn files are hotspots that may benefit from extra review or refactoring.
| File | Times Changed | |
|---|---|---|
| go.mod | 872 | |
| go.sum | 844 | |
| CHANGELOG.md | 610 | |
| promql/engine.go | 558 | |
| cmd/prometheus/main.go | 517 | |
| docs/configuration/configuration.md | 438 | |
| VERSION | 377 | |
| web/web.go | 351 | |
| tsdb/head_test.go | 350 | |
| tsdb/head.go | 346 | |
| config/config.go | 338 | |
| web/api/v1/api.go | 334 | |
| web/ui/react-app/package.json | 314 | |
| scrape/scrape.go | 305 | |
| config/config_test.go | 301 | |
| promql/functions.go | 294 | |
| scrape/scrape_test.go | 292 | |
| tsdb/db_test.go | 290 | |
| rules/manager.go | 273 | |
| web/api/v1/api_test.go | 272 | |
| promql/engine_test.go | 262 | |
| storage/remote/queue_manager.go | 256 | |
| tsdb/db.go | 245 | |
| web/ui/module/codemirror-promql/package.json | 238 | |
| .github/workflows/ci.yml | 211 |
Change frequency by file size →
How Prometheus compares with other CNCF graduated projects →
How Prometheus ranks among CNCF graduated projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true