openai / 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 16 components.
  • 254 files, 52,199 LOC (100.0% vs. main code).
  • "tsdb" is biggest, containing 23.55% of LOC.
  • "scripts" is smallest, containing 0.01% of LOC.


tsdb12294 LOC (23%) 50 files
web8813 LOC (16%) 80 files
promql6676 LOC (12%) 12 files
prompb5470 LOC (10%) 7 files
discovery4854 LOC (9%) 23 files
pkg3390 LOC (6%) 30 files
storage3012 LOC (5%) 15 files
cmd1741 LOC (3%) 5 files
scrape1713 LOC (3%) 3 files
rules1297 LOC (2%) 5 files
util1195 LOC (2%) 14 files
notifier570 LOC (1%) 1 file
config468 LOC (<1%) 1 file
consoles389 LOC (<1%) 6 files
template310 LOC (<1%) 1 file
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.
web742 commits (9%)
promql514 commits (6%)
storage384 commits (5%)
cmd357 commits (4%)
discovery345 commits (4%)
rules327 commits (4%)
config327 commits (4%)
pkg109 commits (1%)
notifier107 commits (1%)
util100 commits (1%)
tsdb84 commits (1%)
scrape76 commits (1%)
consoles48 commits (<1%)
template47 commits (<1%)
prompb31 commits (<1%)
scripts3 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
template
10
5
7
7
18
promql
61
121
95
77
298
254
rules
6
38
55
91
89
120
22
84
prompb
4
34
39
37
tsdb
43
260
storage
20
171
112
262
34
20
14
7
pkg
8
91
50
38
11
scrape
4
44
63
util
4
23
3
40
26
19
web
71
290
177
274
176
158
19
61
discovery
1
199
261
283
30
notifier
19
17
37
34
consoles
12
10
6
10
50
8
cmd
4
73
79
118
60
57
scripts
3
config
1
18
20
70
80
112
3
23


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-04-14 11:54