influxdata/telegraf has 552,654 source lines of code out of 692,482 total lines across 3,598 files, counted with tokei from the f7497755d5c8467d1112cffe417f39bcf3657dfe ref at commit f7497755d5c8 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-20 (commit f7497755d5c8), influxdata/telegraf contains 692,482 total lines: 552,654 code, 70,038 comments, 69,790 blank, across 3,598 files in 19 languages (top language: Go 81.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving influxdata/telegraf to commit f7497755d5c8, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 79.8% of all lines, comments represent 10.1%, and the repository averages 154 code lines per file. Go accounts for 81.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 2301 | 528066 | 447699 | 23553 | 56814 |
| JSON | 436 | 92720 | 92711 | 0 | 9 |
| XML | 60 | 7717 | 7673 | 27 | 17 |
| Protocol Buffers | 19 | 2117 | 1093 | 724 | 300 |
| TOML | 87 | 1533 | 1072 | 206 | 255 |
| Shell | 28 | 1305 | 928 | 160 | 217 |
| Makefile | 1 | 507 | 426 | 9 | 72 |
| HTML | 2 | 384 | 330 | 0 | 54 |
| SQL | 20 | 249 | 245 | 1 | 3 |
| YAML | 7 | 209 | 196 | 3 | 10 |
| Python | 8 | 151 | 124 | 8 | 19 |
| Autoconf | 19 | 761 | 71 | 558 | 132 |
Top language: Go 81.0%. Generated on .
influxdata/telegraf: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
influxdata/telegraf has 552,654 lines of code, plus 70,038 comment lines and 69,790 blank lines, for 692,482 total lines at commit f7497755d5c8 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit f7497755d5c8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from f7497755d5c8467d1112cffe417f39bcf3657dfe at commit f7497755d5c8 on November 20, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for influxdata/telegraf on this page — 552,654 code lines across 19 languages, counted by tokei.