openai / prometheus
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
31% | 21% | 24% | 13% | 9%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go34% | 22% | 27% | 10% | 5%
js58% | 33% | 0% | 0% | 7%
y0% | 100% | 0% | 0% | 0%
tsx0% | 0% | 11% | 54% | 33%
ts0% | 0% | 31% | 50% | 18%
css0% | 0% | 28% | 48% | 23%
html0% | 0% | 0% | 29% | 70%
proto0% | 0% | 0% | 0% | 100%
l0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
prompb93% | 0% | 0% | 2% | 3%
tsdb39% | 28% | 18% | 8% | 5%
promql45% | 33% | 14% | 5% | <1%
web25% | 17% | 7% | 29% | 19%
scrape63% | 0% | 36% | 0% | 0%
cmd0% | 70% | 23% | 0% | 5%
rules0% | 59% | 29% | 10% | <1%
storage0% | 24% | 37% | 27% | 11%
pkg0% | 19% | 50% | 5% | 24%
notifier0% | 100% | 0% | 0% | 0%
discovery0% | 0% | 67% | 25% | 6%
util0% | 0% | 42% | 32% | 25%
config0% | 0% | 100% | 0% | 0%
template0% | 0% | 100% | 0% | 0%
consoles0% | 0% | 0% | 29% | 70%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
types.pb.go
in prompb
2259 145
engine.go
in promql
1658 66
remote.pb.go
in prompb
1572 103
head.go
in tsdb
1458 89
1347 8
index.go
in tsdb/index
1343 71
rpc.pb.go
in prompb
1295 101
api.go
in web/api/v1
1244 37
scrape.go
in scrape
1096 40
db.go
in tsdb
1043 39
index.js
in web/ui/static/js/graph
1023 76
wal.go
in tsdb
1009 42
functions.go
in promql
989 66
querier.go
in tsdb
965 76
web.go
in web
940 34
compact.go
in tsdb
813 27
manager.go
in rules
769 31
queue_manager.go
in storage/remote
724 21
main.go
in cmd/prometheus
675 7
openmetricslex.l.go
in pkg/textparse
672 1
wal.go
in tsdb/wal
651 38
lex.go
in promql
648 43
616 -
prom_console.js
in web/ui/static/js
590 38
notifier.go
in notifier
570 28
postings.go
in tsdb/index
564 54
main.go
in cmd/promtool
556 24
main.go
in tsdb/cmd/tsdb
549 13
parse.go
in promql
491 26
promlex.l.go
in pkg/textparse
485 2
fanout.go
in storage
475 39
config.go
in config
468 15
watcher.go
in tsdb/wal
462 19
chunks.go
in tsdb/chunks
457 28
codec.go
in storage/remote
431 33
block.go
in tsdb
421 32
unittest.go
in cmd/promtool
414 17
azure.go
in discovery/azure
407 12
consul.go
in discovery/consul
403 12
alerting.go
in rules
382 28
openmetricsparse.go
in pkg/textparse
360 18
manager.go
in discovery
354 15
marathon.go
in discovery/marathon
333 16
target.go
in scrape
332 27
promparse.go
in pkg/textparse
326 19
file.go
in discovery/file
310 17
template.go
in template
310 11
labels.go
in pkg/labels
302 28
kubernetes.go
in discovery/kubernetes
301 9
endpoints.go
in discovery/kubernetes
288 10
Files With Most Units (Top 50)
File# lines# units
types.pb.go
in prompb
2259 145
remote.pb.go
in prompb
1572 103
rpc.pb.go
in prompb
1295 101
head.go
in tsdb
1458 89
querier.go
in tsdb
965 76
index.js
in web/ui/static/js/graph
1023 76
index.go
in tsdb/index
1343 71
functions.go
in promql
989 66
engine.go
in promql
1658 66
postings.go
in tsdb/index
564 54
lex.go
in promql
648 43
wal.go
in tsdb
1009 42
scrape.go
in scrape
1096 40
ast.go
in promql
271 40
db.go
in tsdb
1043 39
fanout.go
in storage
475 39
wal.go
in tsdb/wal
651 38
prom_console.js
in web/ui/static/js
590 38
api.go
in web/api/v1
1244 37
encoding.go
in tsdb/encoding
214 36
web.go
in web
940 34
codec.go
in storage/remote
431 33
value.go
in promql
229 33
block.go
in tsdb
421 32
manager.go
in rules
769 31
notifier.go
in notifier
570 28
chunks.go
in tsdb/chunks
457 28
tsdb.go
in storage/tsdb
231 28
alerting.go
in rules
382 28
labels.go
in pkg/labels
302 28
compact.go
in tsdb
813 27
target.go
in scrape
332 27
parse.go
in promql
491 26
main.go
in cmd/promtool
556 24
client_metrics.go
in discovery/kubernetes
151 22
buffer.go
in storage
190 22
queue_manager.go
in storage/remote
724 21
buffer.go
in tsdb/tsdbutil
158 20
watcher.go
in tsdb/wal
462 19
promparse.go
in pkg/textparse
326 19
read.go
in storage/remote
192 18
openmetricsparse.go
in pkg/textparse
360 18
unittest.go
in cmd/promtool
414 17
file.go
in discovery/file
310 17
marathon.go
in discovery/marathon
333 16
manager.go
in scrape
285 16
xor.go
in tsdb/chunkenc
281 15
config.go
in config
468 15
manager.go
in discovery
354 15
recording.go
in rules
136 15
Files With Long Lines (Top 50)

There are 74 files with lines longer than 120 characters. In total, there are 316 long lines.

File# lines# units# long lines
1347 8 22
main.go
in cmd/prometheus
675 7 21
115 - 16
rpc.pb.go
in prompb
1295 101 15
rpc.pb.gw.go
in prompb
140 6 13
89 - 12
parse.go
in promql
491 26 12
engine.go
in promql
1658 66 11
watcher.go
in tsdb/wal
462 19 9
node-disk.html
in consoles
72 - 9
node-cpu.html
in consoles
56 - 9
api.go
in web/api/v1
1244 37 8
queue_manager.go
in storage/remote
724 21 7
remote.pb.go
in prompb
1572 103 6
main.go
in tsdb/cmd/tsdb
549 13 6
_base.html
in web/ui/templates
58 - 6
notifier.go
in notifier
570 28 5
graph.html
in web/ui/templates
31 - 5
alerts.html
in web/ui/templates
93 - 5
azure.go
in discovery/azure
407 12 5
alerting.go
in rules
382 28 5
616 - 5
unittest.go
in cmd/promtool
414 17 4
main.go
in cmd/promtool
556 24 4
types.pb.go
in prompb
2259 145 4
index.js
in web/ui/static/js/graph
1023 76 4
scrape.go
in scrape
1096 40 4
read.go
in storage/remote
192 18 4
manager.go
in rules
769 31 4
node.html
in consoles
28 - 4
rulefmt.go
in pkg/rulefmt
226 6 4
db.go
in tsdb
1043 39 3
live_reader.go
in tsdb/wal
209 11 3
compact.go
in tsdb
813 27 3
querier.go
in tsdb
965 76 3
targets.html
in web/ui/templates
69 - 3
consul.go
in discovery/consul
403 12 3
client_metrics.go
in discovery/kubernetes
151 22 3
prometheus.html
in consoles
29 - 3
treecache.go
in util/treecache
254 10 2
query_stats.go
in util/stats
113 7 2
chunks.go
in tsdb/chunks
457 28 2
config.go
in config
468 15 2
PanelList.tsx
in web/ui/react-app/src/pages/graph
128 5 2
rules.html
in web/ui/templates
53 - 2
web.go
in web
940 34 2
api.go
in web/api/v2
164 11 2
marathon.go
in discovery/marathon
333 16 2
roundtrip.go
in util/testutil
26 3 1
flock_windows.go
in tsdb/fileutil
19 2 1
Correlations

File Size vs. Commits (all time): 254 points

storage/remote/queue_manager.go x: 159 commits (all time) y: 724 lines of code storage/tsdb/tsdb.go x: 86 commits (all time) y: 231 lines of code tsdb/cmd/tsdb/main.go x: 10 commits (all time) y: 549 lines of code tsdb/db.go x: 20 commits (all time) y: 1043 lines of code tsdb/querier.go x: 18 commits (all time) y: 965 lines of code web/api/v1/api.go x: 215 commits (all time) y: 1244 lines of code promql/engine.go x: 256 commits (all time) y: 1658 lines of code pkg/textparse/openmetricsparse.go x: 13 commits (all time) y: 360 lines of code storage/fanout.go x: 44 commits (all time) y: 475 lines of code tsdb/head.go x: 23 commits (all time) y: 1458 lines of code tsdb/tsdbblockutil.go x: 2 commits (all time) y: 59 lines of code rules/manager.go x: 249 commits (all time) y: 769 lines of code scrape/manager.go x: 23 commits (all time) y: 285 lines of code scrape/scrape.go x: 62 commits (all time) y: 1096 lines of code scrape/target.go x: 26 commits (all time) y: 332 lines of code cmd/prometheus/main.go x: 292 commits (all time) y: 675 lines of code promql/query_logger.go x: 10 commits (all time) y: 147 lines of code prompb/remote.pb.go x: 24 commits (all time) y: 1572 lines of code prompb/remote.proto x: 11 commits (all time) y: 70 lines of code storage/interface.go x: 50 commits (all time) y: 63 lines of code storage/noop.go x: 17 commits (all time) y: 51 lines of code storage/remote/codec.go x: 41 commits (all time) y: 431 lines of code storage/remote/read.go x: 46 commits (all time) y: 192 lines of code web/ui/react-app/src/Navbar.tsx x: 9 commits (all time) y: 73 lines of code web/ui/templates/graph.html x: 29 commits (all time) y: 31 lines of code storage/remote/client.go x: 71 commits (all time) y: 136 lines of code rules/fixtures/rules2.yaml x: 1 commits (all time) y: 5 lines of code util/httputil/context.go x: 2 commits (all time) y: 29 lines of code web/ui/react-app/src/App.css x: 18 commits (all time) y: 203 lines of code web/ui/react-app/src/pages/alerts/AlertContents.tsx x: 5 commits (all time) y: 122 lines of code web/ui/react-app/src/pages/alerts/CollapsibleAlertPanel.tsx x: 2 commits (all time) y: 116 lines of code web/ui/react-app/src/pages/rules/Rules.tsx x: 2 commits (all time) y: 10 lines of code web/ui/react-app/src/pages/rules/RulesContent.tsx x: 1 commits (all time) y: 122 lines of code web/ui/react-app/src/types/types.ts x: 2 commits (all time) y: 23 lines of code web/ui/react-app/src/utils/index.ts x: 2 commits (all time) y: 175 lines of code web/ui/react-app/src/pages/graph/GraphControls.tsx x: 2 commits (all time) y: 132 lines of code web/ui/react-app/src/pages/graph/GraphHelpers.ts x: 2 commits (all time) y: 168 lines of code web/ui/react-app/src/pages/graph/Panel.tsx x: 4 commits (all time) y: 285 lines of code web/ui/react-app/src/pages/graph/PanelList.tsx x: 4 commits (all time) y: 128 lines of code discovery/manager.go x: 63 commits (all time) y: 354 lines of code tsdb/tombstones/tombstones.go x: 4 commits (all time) y: 243 lines of code util/stats/timer.go x: 9 commits (all time) y: 69 lines of code pkg/labels/labels.go x: 31 commits (all time) y: 302 lines of code web/web.go x: 390 commits (all time) y: 940 lines of code tsdb/wal/wal.go x: 10 commits (all time) y: 651 lines of code promql/ast.go x: 72 commits (all time) y: 271 lines of code promql/functions.go x: 129 commits (all time) y: 989 lines of code promql/generated_parser.y x: 15 commits (all time) y: 616 lines of code promql/generated_parser.y.go x: 15 commits (all time) y: 1347 lines of code promql/parse.go x: 176 commits (all time) y: 491 lines of code promql/printer.go x: 76 commits (all time) y: 131 lines of code promql/lex.go x: 100 commits (all time) y: 648 lines of code cmd/promtool/main.go x: 65 commits (all time) y: 556 lines of code pkg/rulefmt/rulefmt.go x: 28 commits (all time) y: 226 lines of code web/ui/react-app/src/App.tsx x: 14 commits (all time) y: 14 lines of code web/ui/react-app/src/components/Checkbox.tsx x: 1 commits (all time) y: 13 lines of code web/ui/react-app/src/components/ToggleMoreLess.tsx x: 1 commits (all time) y: 26 lines of code web/ui/react-app/src/components/withStatusIndicator.tsx x: 1 commits (all time) y: 40 lines of code web/ui/react-app/src/pages/graph/ExpressionInput.tsx x: 1 commits (all time) y: 174 lines of code web/ui/react-app/src/pages/graph/Legend.tsx x: 1 commits (all time) y: 65 lines of code web/ui/react-app/src/pages/index.ts x: 6 commits (all time) y: 10 lines of code web/ui/react-app/src/pages/serviceDiscovery/LabelsTable.tsx x: 1 commits (all time) y: 61 lines of code web/ui/react-app/src/pages/serviceDiscovery/Services.tsx x: 1 commits (all time) y: 102 lines of code web/ui/react-app/src/pages/targets/ScrapePoolList.tsx x: 4 commits (all time) y: 52 lines of code web/ui/react-app/src/pages/targets/ScrapePoolPanel.tsx x: 3 commits (all time) y: 77 lines of code web/ui/react-app/src/pages/tsdbStatus/TSDBStatus.tsx x: 1 commits (all time) y: 80 lines of code tsdb/wal/checkpoint.go x: 2 commits (all time) y: 200 lines of code storage/remote/storage.go x: 43 commits (all time) y: 128 lines of code tsdb/index/index.go x: 34 commits (all time) y: 1343 lines of code config/config.go x: 327 commits (all time) y: 468 lines of code pkg/logging/dedupe.go x: 5 commits (all time) y: 93 lines of code pkg/logging/ratelimit.go x: 5 commits (all time) y: 21 lines of code tsdb/block.go x: 18 commits (all time) y: 421 lines of code tsdb/index/postings.go x: 8 commits (all time) y: 564 lines of code tsdb/wal.go x: 10 commits (all time) y: 1009 lines of code util/testutil/directory.go x: 16 commits (all time) y: 105 lines of code web/ui/react-app/src/pages/targets/target.ts x: 2 commits (all time) y: 47 lines of code tsdb/chunks/chunks.go x: 8 commits (all time) y: 457 lines of code promql/value.go x: 21 commits (all time) y: 229 lines of code tsdb/compact.go x: 13 commits (all time) y: 813 lines of code rules/alerting.go x: 157 commits (all time) y: 382 lines of code rules/recording.go x: 96 commits (all time) y: 136 lines of code tsdb/encoding/encoding.go x: 9 commits (all time) y: 214 lines of code storage/remote/write.go x: 33 commits (all time) y: 170 lines of code notifier/notifier.go x: 107 commits (all time) y: 570 lines of code util/promlint/promlint.go x: 10 commits (all time) y: 253 lines of code prompb/types.pb.go x: 22 commits (all time) y: 2259 lines of code prompb/types.proto x: 10 commits (all time) y: 73 lines of code tsdb/wal/watcher.go x: 7 commits (all time) y: 462 lines of code discovery/kubernetes/client_metrics.go x: 16 commits (all time) y: 151 lines of code discovery/kubernetes/kubernetes.go x: 61 commits (all time) y: 301 lines of code web/ui/react-app/src/pages/targets/__testdata__/testdata.ts x: 2 commits (all time) y: 211 lines of code pkg/textparse/interface.go x: 6 commits (all time) y: 43 lines of code pkg/textparse/openmetricslex.l x: 3 commits (all time) y: 66 lines of code pkg/textparse/openmetricslex.l.go x: 6 commits (all time) y: 672 lines of code pkg/textparse/promlex.l.go x: 7 commits (all time) y: 485 lines of code pkg/textparse/promparse.go x: 12 commits (all time) y: 326 lines of code cmd/promtool/unittest.go x: 25 commits (all time) y: 414 lines of code pkg/labels/matcher.go x: 8 commits (all time) y: 81 lines of code tsdb/record/record.go x: 2 commits (all time) y: 160 lines of code web/api/v2/api.go x: 38 commits (all time) y: 164 lines of code web/ui/react-app/src/pages/targets/EndpointLink.tsx x: 1 commits (all time) y: 33 lines of code web/ui/static/js/graph/index.js x: 19 commits (all time) y: 1023 lines of code tsdb/index/postingsstats.go x: 1 commits (all time) y: 47 lines of code web/ui/templates/status.html x: 34 commits (all time) y: 171 lines of code web/ui/react-app/public/index.html x: 4 commits (all time) y: 19 lines of code web/ui/react-app/src/index.tsx x: 4 commits (all time) y: 11 lines of code web/ui/react-app/src/setupTests.ts x: 2 commits (all time) y: 8 lines of code web/ui/static/js/alerts.js x: 7 commits (all time) y: 59 lines of code web/ui/static/js/targets.js x: 14 commits (all time) y: 57 lines of code web/ui/templates/alerts.html x: 25 commits (all time) y: 93 lines of code discovery/kubernetes/ingress.go x: 33 commits (all time) y: 167 lines of code discovery/kubernetes/node.go x: 40 commits (all time) y: 176 lines of code discovery/kubernetes/service.go x: 39 commits (all time) y: 151 lines of code web/ui/static/css/graph.css x: 17 commits (all time) y: 172 lines of code discovery/consul/consul.go x: 53 commits (all time) y: 403 lines of code discovery/dns/dns.go x: 35 commits (all time) y: 222 lines of code pkg/runtime/statfs.go x: 6 commits (all time) y: 4 lines of code pkg/runtime/statfs_default.go x: 6 commits (all time) y: 61 lines of code web/ui/assets_generate.go x: 6 commits (all time) y: 19 lines of code web/ui/doc.go x: 7 commits (all time) y: 6 lines of code web/ui/react-app/src/globals.ts x: 3 commits (all time) y: 3 lines of code discovery/kubernetes/endpoints.go x: 38 commits (all time) y: 288 lines of code discovery/kubernetes/pod.go x: 51 commits (all time) y: 212 lines of code discovery/refresh/refresh.go x: 8 commits (all time) y: 92 lines of code tsdb/chunkenc/xor.go x: 6 commits (all time) y: 281 lines of code tsdb/goversion/goversion.go x: 5 commits (all time) y: 2 lines of code storage/remote/ewma.go x: 12 commits (all time) y: 40 lines of code storage/remote/intern.go x: 10 commits (all time) y: 69 lines of code tsdb/wal/live_reader.go x: 5 commits (all time) y: 209 lines of code util/httputil/cors.go x: 5 commits (all time) y: 27 lines of code util/stats/query_stats.go x: 19 commits (all time) y: 113 lines of code tsdb/repair.go x: 5 commits (all time) y: 102 lines of code web/ui/static/js/prom_console.js x: 30 commits (all time) y: 590 lines of code storage/remote/chunked.go x: 1 commits (all time) y: 89 lines of code template/template.go x: 47 commits (all time) y: 310 lines of code discovery/marathon/marathon.go x: 49 commits (all time) y: 333 lines of code prompb/rpc.pb.go x: 20 commits (all time) y: 1295 lines of code prompb/rpc.pb.gw.go x: 20 commits (all time) y: 140 lines of code tsdb/chunkenc/bstream.go x: 3 commits (all time) y: 120 lines of code tsdb/chunkenc/chunk.go x: 3 commits (all time) y: 90 lines of code tsdb/errors/errors.go x: 3 commits (all time) y: 35 lines of code tsdb/fileutil/dir_windows.go x: 3 commits (all time) y: 26 lines of code tsdb/fileutil/fileutil.go x: 3 commits (all time) y: 111 lines of code tsdb/fileutil/flock.go x: 3 commits (all time) y: 17 lines of code tsdb/fileutil/flock_solaris.go x: 3 commits (all time) y: 39 lines of code tsdb/tsdbutil/buffer.go x: 3 commits (all time) y: 158 lines of code tsdb/tsdbutil/chunks.go x: 4 commits (all time) y: 32 lines of code tsdb/wal/reader.go x: 3 commits (all time) y: 137 lines of code promql/fuzz.go x: 9 commits (all time) y: 47 lines of code promql/quantile.go x: 27 commits (all time) y: 102 lines of code discovery/zookeeper/zookeeper.go x: 34 commits (all time) y: 236 lines of code consoles/prometheus-overview.html x: 21 commits (all time) y: 89 lines of code util/treecache/treecache.go x: 25 commits (all time) y: 254 lines of code web/ui/templates/service-discovery.html x: 15 commits (all time) y: 72 lines of code web/ui/templates/targets.html x: 48 commits (all time) y: 69 lines of code cmd/promtool/archive.go x: 5 commits (all time) y: 49 lines of code consoles/prometheus.html x: 12 commits (all time) y: 29 lines of code discovery/azure/azure.go x: 47 commits (all time) y: 407 lines of code discovery/config/config.go x: 7 commits (all time) y: 94 lines of code discovery/ec2/ec2.go x: 43 commits (all time) y: 210 lines of code discovery/file/file.go x: 33 commits (all time) y: 310 lines of code discovery/gce/gce.go x: 30 commits (all time) y: 158 lines of code discovery/openstack/hypervisor.go x: 16 commits (all time) y: 72 lines of code discovery/openstack/instance.go x: 19 commits (all time) y: 165 lines of code discovery/openstack/openstack.go x: 28 commits (all time) y: 134 lines of code discovery/triton/triton.go x: 28 commits (all time) y: 155 lines of code pkg/relabel/relabel.go x: 8 commits (all time) y: 197 lines of code pkg/runtime/statfs_uint32.go x: 3 commits (all time) y: 57 lines of code pkg/value/value.go x: 9 commits (all time) y: 11 lines of code storage/buffer.go x: 23 commits (all time) y: 190 lines of code web/federate.go x: 79 commits (all time) y: 188 lines of code web/ui/static/css/alerts.css x: 8 commits (all time) y: 24 lines of code web/ui/static/css/config.css x: 5 commits (all time) y: 13 lines of code web/ui/static/css/prom_console.css x: 7 commits (all time) y: 177 lines of code web/ui/static/css/prometheus.css x: 13 commits (all time) y: 23 lines of code web/ui/static/css/targets.css x: 9 commits (all time) y: 36 lines of code web/ui/templates/_base.html x: 33 commits (all time) y: 58 lines of code web/ui/templates/config.html x: 8 commits (all time) y: 10 lines of code web/ui/templates/rules.html x: 18 commits (all time) y: 53 lines of code pkg/modtimevfs/modtimevfs.go x: 2 commits (all time) y: 40 lines of code pkg/textparse/promlex.l x: 2 commits (all time) y: 85 lines of code consoles/node-cpu.html x: 10 commits (all time) y: 56 lines of code consoles/node-disk.html x: 19 commits (all time) y: 72 lines of code consoles/node-overview.html x: 20 commits (all time) y: 115 lines of code consoles/node.html x: 14 commits (all time) y: 28 lines of code pkg/pool/pool.go x: 9 commits (all time) y: 58 lines of code pkg/timestamp/timestamp.go x: 4 commits (all time) y: 8 lines of code util/strutil/strconv.go x: 14 commits (all time) y: 20 lines of code util/strutil/quote.go x: 3 commits (all time) y: 169 lines of code util/httputil/compression.go x: 2 commits (all time) y: 63 lines of code
2259.0
lines of code
  min: 2.0
  average: 205.51
  25th percentile: 25.75
  median: 75.0
  75th percentile: 212.5
  max: 2259.0
0 390.0
commits (all time)
min: 1.0 | average: 23.08 | 25th percentile: 3.0 | median: 6.0 | 75th percentile: 21.25 | max: 390.0

File Size vs. Contributors (all time): 254 points

storage/remote/queue_manager.go x: 37 contributors (all time) y: 724 lines of code storage/tsdb/tsdb.go x: 25 contributors (all time) y: 231 lines of code tsdb/cmd/tsdb/main.go x: 5 contributors (all time) y: 549 lines of code tsdb/db.go x: 15 contributors (all time) y: 1043 lines of code tsdb/querier.go x: 10 contributors (all time) y: 965 lines of code web/api/v1/api.go x: 51 contributors (all time) y: 1244 lines of code promql/engine.go x: 52 contributors (all time) y: 1658 lines of code pkg/textparse/openmetricsparse.go x: 7 contributors (all time) y: 360 lines of code storage/fanout.go x: 16 contributors (all time) y: 475 lines of code tsdb/head.go x: 14 contributors (all time) y: 1458 lines of code tsdb/tsdbblockutil.go x: 2 contributors (all time) y: 59 lines of code rules/manager.go x: 46 contributors (all time) y: 769 lines of code scrape/manager.go x: 19 contributors (all time) y: 285 lines of code scrape/scrape.go x: 27 contributors (all time) y: 1096 lines of code scrape/target.go x: 19 contributors (all time) y: 332 lines of code cmd/prometheus/main.go x: 65 contributors (all time) y: 675 lines of code promql/query_logger.go x: 6 contributors (all time) y: 147 lines of code prompb/remote.pb.go x: 16 contributors (all time) y: 1572 lines of code prompb/remote.proto x: 8 contributors (all time) y: 70 lines of code storage/interface.go x: 20 contributors (all time) y: 63 lines of code storage/noop.go x: 11 contributors (all time) y: 51 lines of code storage/remote/codec.go x: 18 contributors (all time) y: 431 lines of code storage/remote/read.go x: 19 contributors (all time) y: 192 lines of code web/ui/react-app/src/Navbar.tsx x: 4 contributors (all time) y: 73 lines of code web/ui/templates/graph.html x: 13 contributors (all time) y: 31 lines of code storage/remote/client.go x: 26 contributors (all time) y: 136 lines of code rules/fixtures/rules2.yaml x: 1 contributors (all time) y: 5 lines of code util/httputil/context.go x: 1 contributors (all time) y: 29 lines of code web/ui/react-app/src/App.css x: 5 contributors (all time) y: 203 lines of code web/ui/react-app/src/pages/alerts/AlertContents.tsx x: 2 contributors (all time) y: 122 lines of code web/ui/react-app/src/pages/rules/Rules.tsx x: 2 contributors (all time) y: 10 lines of code web/ui/react-app/src/pages/rules/RulesContent.tsx x: 1 contributors (all time) y: 122 lines of code web/ui/react-app/src/types/types.ts x: 2 contributors (all time) y: 23 lines of code web/ui/react-app/src/utils/index.ts x: 2 contributors (all time) y: 175 lines of code web/ui/react-app/src/pages/graph/GraphControls.tsx x: 2 contributors (all time) y: 132 lines of code web/ui/react-app/src/pages/graph/GraphHelpers.ts x: 2 contributors (all time) y: 168 lines of code web/ui/react-app/src/pages/graph/Panel.tsx x: 2 contributors (all time) y: 285 lines of code discovery/manager.go x: 20 contributors (all time) y: 354 lines of code web/ui/react-app/src/hooks/useFetch.ts x: 2 contributors (all time) y: 30 lines of code tsdb/tombstones/tombstones.go x: 4 contributors (all time) y: 243 lines of code util/stats/timer.go x: 6 contributors (all time) y: 69 lines of code pkg/labels/labels.go x: 14 contributors (all time) y: 302 lines of code web/web.go x: 68 contributors (all time) y: 940 lines of code tsdb/wal/wal.go x: 7 contributors (all time) y: 651 lines of code promql/ast.go x: 17 contributors (all time) y: 271 lines of code promql/functions.go x: 27 contributors (all time) y: 989 lines of code promql/generated_parser.y x: 1 contributors (all time) y: 616 lines of code promql/generated_parser.y.go x: 1 contributors (all time) y: 1347 lines of code promql/parse.go x: 28 contributors (all time) y: 491 lines of code promql/printer.go x: 20 contributors (all time) y: 131 lines of code promql/lex.go x: 23 contributors (all time) y: 648 lines of code cmd/promtool/main.go x: 28 contributors (all time) y: 556 lines of code pkg/rulefmt/rulefmt.go x: 17 contributors (all time) y: 226 lines of code web/ui/react-app/src/App.tsx x: 6 contributors (all time) y: 14 lines of code web/ui/react-app/src/components/Checkbox.tsx x: 1 contributors (all time) y: 13 lines of code web/ui/react-app/src/components/ToggleMoreLess.tsx x: 1 contributors (all time) y: 26 lines of code web/ui/react-app/src/components/withStatusIndicator.tsx x: 1 contributors (all time) y: 40 lines of code web/ui/react-app/src/pages/graph/ExpressionInput.tsx x: 1 contributors (all time) y: 174 lines of code web/ui/react-app/src/pages/graph/Legend.tsx x: 1 contributors (all time) y: 65 lines of code web/ui/react-app/src/pages/index.ts x: 4 contributors (all time) y: 10 lines of code web/ui/react-app/src/pages/serviceDiscovery/LabelsTable.tsx x: 1 contributors (all time) y: 61 lines of code web/ui/react-app/src/pages/serviceDiscovery/Services.tsx x: 1 contributors (all time) y: 102 lines of code web/ui/react-app/src/pages/targets/ScrapePoolList.tsx x: 3 contributors (all time) y: 52 lines of code web/ui/react-app/src/pages/targets/ScrapePoolPanel.tsx x: 3 contributors (all time) y: 77 lines of code web/ui/react-app/src/pages/tsdbStatus/TSDBStatus.tsx x: 1 contributors (all time) y: 80 lines of code tsdb/wal/checkpoint.go x: 2 contributors (all time) y: 200 lines of code storage/remote/storage.go x: 19 contributors (all time) y: 128 lines of code tsdb/index/index.go x: 7 contributors (all time) y: 1343 lines of code config/config.go x: 77 contributors (all time) y: 468 lines of code pkg/logging/dedupe.go x: 4 contributors (all time) y: 93 lines of code pkg/logging/ratelimit.go x: 4 contributors (all time) y: 21 lines of code tsdb/block.go x: 8 contributors (all time) y: 421 lines of code tsdb/index/postings.go x: 6 contributors (all time) y: 564 lines of code tsdb/wal.go x: 7 contributors (all time) y: 1009 lines of code util/testutil/directory.go x: 10 contributors (all time) y: 105 lines of code web/ui/react-app/src/pages/targets/target.ts x: 2 contributors (all time) y: 47 lines of code tsdb/chunks/chunks.go x: 3 contributors (all time) y: 457 lines of code promql/value.go x: 15 contributors (all time) y: 229 lines of code tsdb/compact.go x: 5 contributors (all time) y: 813 lines of code rules/alerting.go x: 35 contributors (all time) y: 382 lines of code rules/recording.go x: 22 contributors (all time) y: 136 lines of code tsdb/encoding/encoding.go x: 3 contributors (all time) y: 214 lines of code storage/remote/write.go x: 13 contributors (all time) y: 170 lines of code notifier/notifier.go x: 40 contributors (all time) y: 570 lines of code util/promlint/promlint.go x: 7 contributors (all time) y: 253 lines of code prompb/types.pb.go x: 15 contributors (all time) y: 2259 lines of code prompb/types.proto x: 8 contributors (all time) y: 73 lines of code discovery/kubernetes/client_metrics.go x: 7 contributors (all time) y: 151 lines of code discovery/kubernetes/kubernetes.go x: 24 contributors (all time) y: 301 lines of code web/ui/react-app/src/pages/targets/__testdata__/testdata.ts x: 2 contributors (all time) y: 211 lines of code pkg/textparse/interface.go x: 2 contributors (all time) y: 43 lines of code pkg/textparse/openmetricslex.l x: 2 contributors (all time) y: 66 lines of code pkg/textparse/openmetricslex.l.go x: 4 contributors (all time) y: 672 lines of code pkg/textparse/promlex.l.go x: 4 contributors (all time) y: 485 lines of code pkg/textparse/promparse.go x: 7 contributors (all time) y: 326 lines of code cmd/promtool/unittest.go x: 13 contributors (all time) y: 414 lines of code pkg/labels/matcher.go x: 4 contributors (all time) y: 81 lines of code tsdb/record/record.go x: 2 contributors (all time) y: 160 lines of code web/api/v2/api.go x: 17 contributors (all time) y: 164 lines of code web/ui/static/js/graph/index.js x: 15 contributors (all time) y: 1023 lines of code tsdb/index/postingsstats.go x: 1 contributors (all time) y: 47 lines of code web/ui/templates/status.html x: 14 contributors (all time) y: 171 lines of code web/ui/react-app/public/index.html x: 3 contributors (all time) y: 19 lines of code web/ui/react-app/src/index.tsx x: 3 contributors (all time) y: 11 lines of code web/ui/react-app/src/setupTests.ts x: 2 contributors (all time) y: 8 lines of code web/ui/static/js/alerts.js x: 5 contributors (all time) y: 59 lines of code web/ui/static/js/targets.js x: 11 contributors (all time) y: 57 lines of code web/ui/templates/alerts.html x: 12 contributors (all time) y: 93 lines of code discovery/kubernetes/ingress.go x: 19 contributors (all time) y: 167 lines of code discovery/kubernetes/node.go x: 15 contributors (all time) y: 176 lines of code discovery/kubernetes/service.go x: 17 contributors (all time) y: 151 lines of code web/ui/static/css/graph.css x: 10 contributors (all time) y: 172 lines of code discovery/consul/consul.go x: 25 contributors (all time) y: 403 lines of code discovery/dns/dns.go x: 22 contributors (all time) y: 222 lines of code pkg/runtime/statfs.go x: 4 contributors (all time) y: 4 lines of code pkg/runtime/statfs_default.go x: 4 contributors (all time) y: 61 lines of code web/ui/doc.go x: 5 contributors (all time) y: 6 lines of code web/ui/react-app/src/globals.ts x: 3 contributors (all time) y: 3 lines of code web/ui/ui.go x: 5 contributors (all time) y: 44 lines of code discovery/kubernetes/endpoints.go x: 15 contributors (all time) y: 288 lines of code discovery/kubernetes/pod.go x: 20 contributors (all time) y: 212 lines of code discovery/refresh/refresh.go x: 3 contributors (all time) y: 92 lines of code tsdb/chunkenc/xor.go x: 4 contributors (all time) y: 281 lines of code storage/remote/ewma.go x: 7 contributors (all time) y: 40 lines of code tsdb/wal/live_reader.go x: 3 contributors (all time) y: 209 lines of code util/httputil/cors.go x: 3 contributors (all time) y: 27 lines of code util/stats/query_stats.go x: 9 contributors (all time) y: 113 lines of code tsdb/repair.go x: 3 contributors (all time) y: 102 lines of code web/ui/static/js/prom_console.js x: 13 contributors (all time) y: 590 lines of code storage/remote/chunked.go x: 1 contributors (all time) y: 89 lines of code template/template.go x: 19 contributors (all time) y: 310 lines of code discovery/marathon/marathon.go x: 25 contributors (all time) y: 333 lines of code prompb/rpc.pb.go x: 10 contributors (all time) y: 1295 lines of code prompb/rpc.pb.gw.go x: 10 contributors (all time) y: 140 lines of code tsdb/chunkenc/chunk.go x: 2 contributors (all time) y: 90 lines of code tsdb/fileutil/fileutil.go x: 2 contributors (all time) y: 111 lines of code tsdb/wal/reader.go x: 2 contributors (all time) y: 137 lines of code promql/fuzz.go x: 5 contributors (all time) y: 47 lines of code promql/quantile.go x: 9 contributors (all time) y: 102 lines of code discovery/zookeeper/zookeeper.go x: 18 contributors (all time) y: 236 lines of code consoles/prometheus-overview.html x: 8 contributors (all time) y: 89 lines of code util/treecache/treecache.go x: 14 contributors (all time) y: 254 lines of code web/ui/templates/service-discovery.html x: 14 contributors (all time) y: 72 lines of code web/ui/templates/targets.html x: 23 contributors (all time) y: 69 lines of code cmd/promtool/archive.go x: 4 contributors (all time) y: 49 lines of code consoles/prometheus.html x: 6 contributors (all time) y: 29 lines of code discovery/config/config.go x: 6 contributors (all time) y: 94 lines of code discovery/ec2/ec2.go x: 27 contributors (all time) y: 210 lines of code discovery/file/file.go x: 18 contributors (all time) y: 310 lines of code discovery/gce/gce.go x: 20 contributors (all time) y: 158 lines of code discovery/openstack/hypervisor.go x: 10 contributors (all time) y: 72 lines of code discovery/openstack/instance.go x: 11 contributors (all time) y: 165 lines of code discovery/openstack/openstack.go x: 16 contributors (all time) y: 134 lines of code discovery/triton/triton.go x: 16 contributors (all time) y: 155 lines of code pkg/relabel/relabel.go x: 7 contributors (all time) y: 197 lines of code pkg/value/value.go x: 5 contributors (all time) y: 11 lines of code storage/buffer.go x: 8 contributors (all time) y: 190 lines of code web/federate.go x: 20 contributors (all time) y: 188 lines of code web/ui/static/css/alerts.css x: 6 contributors (all time) y: 24 lines of code web/ui/static/css/prom_console.css x: 4 contributors (all time) y: 177 lines of code web/ui/static/css/prometheus.css x: 9 contributors (all time) y: 23 lines of code web/ui/static/css/targets.css x: 6 contributors (all time) y: 36 lines of code web/ui/templates/_base.html x: 18 contributors (all time) y: 58 lines of code web/ui/templates/rules.html x: 13 contributors (all time) y: 53 lines of code pkg/textparse/promlex.l x: 1 contributors (all time) y: 85 lines of code consoles/node-disk.html x: 7 contributors (all time) y: 72 lines of code consoles/node-overview.html x: 7 contributors (all time) y: 115 lines of code consoles/node.html x: 5 contributors (all time) y: 28 lines of code discovery/targetgroup/targetgroup.go x: 3 contributors (all time) y: 63 lines of code pkg/pool/pool.go x: 3 contributors (all time) y: 58 lines of code util/strutil/strconv.go x: 5 contributors (all time) y: 20 lines of code
2259.0
lines of code
  min: 2.0
  average: 205.51
  25th percentile: 25.75
  median: 75.0
  75th percentile: 212.5
  max: 2259.0
0 77.0
contributors (all time)
min: 1.0 | average: 8.54 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 13.0 | max: 77.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".