prometheus/prometheus SLOC report

As of 2026-09-07 (commit cba90e8518a4), prometheus/prometheus contains 538,904 total lines: 449,527 code, 46,338 comments, 43,039 blank, across 1,429 files in 20 languages (top: Go 67.8%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit cba90e8518a4), prometheus/prometheus contains 538,904 total lines: 449,527 code, 46,338 comments, 43,039 blank, across 1,429 files in 20 languages (top: Go 67.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving prometheus/prometheus to commit cba90e8518a4, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a large codebase by counted code lines. Code represents 83.4% of all lines, comments represent 8.6%, and the repository averages 315 code lines per file. Go accounts for 67.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go7173765503048693511736564
YAML3187491272664842164
JSON502737827361017
TSX14022297202423311724
TypeScript992165419998811845
Happy1140412970107
Shell161063748158157
CSS2273861819101
Sass672956646117
JavaScript114093305326
Protocol Buffers472230933083
Lex32761854843

Top language (Go 67.8%). Generated at 2026-09-07T08:26:16.803458704+00:00.

Report FAQ

How many lines of code does prometheus/prometheus have?

prometheus/prometheus has 538,904 total lines, including 449,527 code lines, 46,338 comment lines, and 43,039 blank lines.

How was the prometheus/prometheus line count measured?

OctoCounts resolved the public GitHub repository to commit cba90e8518a4, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for prometheus/prometheus?

This OctoCounts report was generated from main at commit cba90e8518a4 on 2026-09-07T08:26:16.803458704+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: