GoogleCloudPlatform / prometheus
Components

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 18 components.
  • 369 files, 88,790 LOC (100.0% vs. main code).
  • "tsdb" is biggest, containing 24.35% of LOC.
  • "scripts" is smallest, containing 0.01% of LOC.


tsdb21622 LOC (24%) 73 files
web12369 LOC (13%) 98 files
discovery11991 LOC (13%) 62 files
prompb9997 LOC (11%) 8 files
promql8677 LOC (9%) 15 files
storage6160 LOC (6%) 24 files
model5725 LOC (6%) 21 files
cmd4135 LOC (4%) 10 files
scrape2292 LOC (2%) 4 files
util1935 LOC (2%) 33 files
rules1501 LOC (1%) 7 files
config753 LOC (<1%) 1 file
notifier553 LOC (<1%) 1 file
template412 LOC (<1%) 1 file
consoles390 LOC (<1%) 6 files
tracing170 LOC (<1%) 1 file
plugins101 LOC (<1%) 3 files
scripts7 LOC (<1%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
web986 commits (8%)
cmd721 commits (6%)
tsdb688 commits (6%)
storage664 commits (6%)
promql658 commits (5%)
discovery637 commits (5%)
rules472 commits (4%)
config417 commits (3%)
scrape278 commits (2%)
util186 commits (1%)
model153 commits (1%)
notifier147 commits (1%)
template83 commits (<1%)
prompb71 commits (<1%)
consoles54 commits (<1%)
tracing19 commits (<1%)
plugins14 commits (<1%)
scripts6 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013
cmd
6
58
143
260
146
73
79
118
60
57
config
2
14
25
38
12
18
20
70
80
112
3
23
tsdb
1
302
486
613
434
229
template
4
14
16
2
10
5
7
7
18
tracing
4
15
promql
69
159
230
196
55
59
64
141
110
plugins
18
rules
41
60
63
63
38
55
91
89
120
22
84
prompb
14
48
12
23
24
21
18
storage
84
161
308
281
152
105
207
29
20
14
7
scrape
48
73
93
65
44
63
util
30
48
88
28
19
3
34
26
19
web
75
329
630
345
143
117
184
112
138
19
61
discovery
97
324
479
154
192
241
277
34
notifier
5
13
14
8
19
17
37
34
consoles
14
12
10
6
10
50
8
model
101
142
65
scripts
3
3


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

No temporal dependencies found.



2025-05-04 15:40