GoogleCloudPlatform / run-gmp-sidecar
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 45% | 16% | 38%
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
go0% | 0% | 49% | 17% | 32%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
collector0% | 0% | 56% | 14% | 29%
confgenerator0% | 0% | 43% | 20% | 36%
ROOT0% | 0% | 0% | 27% | 72%
sample-apps0% | 0% | 0% | 0% | 100%
Longest Files (Top 43)
File# lines# units
config.go
in confgenerator
340 9
metricfamily.go
in collector/receiver/prometheusreceiver/internal
328 14
metrics_adjuster.go
in collector/receiver/prometheusreceiver/internal
302 13
metrics_receiver.go
in collector/receiver/prometheusreceiver
273 10
config.go
in collector/receiver/prometheusreceiver
228 7
transaction.go
in collector/receiver/prometheusreceiver/internal
220 14
processors.go
in confgenerator/otel
157 18
starttimemetricadjuster.go
in collector/receiver/prometheusreceiver/internal
123 4
119 4
components.go
in collector/service
111 2
logger.go
in collector/receiver/prometheusreceiver/internal
102 7
util.go
in collector/receiver/prometheusreceiver/internal
100 7
main.go
in sample-apps/single-req-app
98 7
util.go
in confgenerator
97 9
85 -
85 -
modular.go
in confgenerator/otel
76 3
agentmetrics.go
in confgenerator
72 1
prom_to_otlp.go
in collector/receiver/prometheusreceiver/internal
67 3
env.go
in collector/internal/env
63 2
main.go
in collector/service
61 2
61 -
factory.go
in collector/exporter/googlemanagedprometheusexporter
56 3
config.go
in collector/exporter/googlemanagedprometheusexporter
56 2
metadata.go
in collector/receiver/prometheusreceiver/internal
56 1
appendable.go
in collector/receiver/prometheusreceiver/internal
56 2
main.go
in sample-apps/simple-app
51 5
levelchanger.go
in collector/internal/levelchanger
49 7
45 -
confgenerator.go
in confgenerator
42 2
factory.go
in collector/receiver/prometheusreceiver
40 3
35 -
version.go
in collector/internal/version
29 1
metadata.yaml
in collector/receiver/prometheusreceiver
16 -
metadata.yaml
in collector/exporter/googlemanagedprometheusexporter
13 -
generated_status.go
in collector/exporter/googlemanagedprometheusexporter/internal/metadata
10 -
generated_status.go
in collector/receiver/prometheusreceiver/internal/metadata
10 -
main.go
in collector/cmd/rungmpcol
8 1
tools.go
in collector/internal/tools
7 -
4 -
errors.go
in collector/internal/collectorerror
3 -
1 -
doc.go
in collector/receiver/prometheusreceiver
1 -
Files With Most Units (Top 29)
File# lines# units
processors.go
in confgenerator/otel
157 18
transaction.go
in collector/receiver/prometheusreceiver/internal
220 14
metricfamily.go
in collector/receiver/prometheusreceiver/internal
328 14
metrics_adjuster.go
in collector/receiver/prometheusreceiver/internal
302 13
metrics_receiver.go
in collector/receiver/prometheusreceiver
273 10
util.go
in confgenerator
97 9
config.go
in confgenerator
340 9
main.go
in sample-apps/single-req-app
98 7
levelchanger.go
in collector/internal/levelchanger
49 7
config.go
in collector/receiver/prometheusreceiver
228 7
util.go
in collector/receiver/prometheusreceiver/internal
100 7
logger.go
in collector/receiver/prometheusreceiver/internal
102 7
main.go
in sample-apps/simple-app
51 5
starttimemetricadjuster.go
in collector/receiver/prometheusreceiver/internal
123 4
119 4
factory.go
in collector/exporter/googlemanagedprometheusexporter
56 3
factory.go
in collector/receiver/prometheusreceiver
40 3
prom_to_otlp.go
in collector/receiver/prometheusreceiver/internal
67 3
modular.go
in confgenerator/otel
76 3
components.go
in collector/service
111 2
main.go
in collector/service
61 2
config.go
in collector/exporter/googlemanagedprometheusexporter
56 2
env.go
in collector/internal/env
63 2
appendable.go
in collector/receiver/prometheusreceiver/internal
56 2
confgenerator.go
in confgenerator
42 2
version.go
in collector/internal/version
29 1
main.go
in collector/cmd/rungmpcol
8 1
metadata.go
in collector/receiver/prometheusreceiver/internal
56 1
agentmetrics.go
in confgenerator
72 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
config.go
in confgenerator
340 9 5
util.go
in collector/receiver/prometheusreceiver/internal
100 7 4
transaction.go
in collector/receiver/prometheusreceiver/internal
220 14 4
metrics_receiver.go
in collector/receiver/prometheusreceiver
273 10 3
processors.go
in confgenerator/otel
157 18 3
factory.go
in collector/exporter/googlemanagedprometheusexporter
56 3 2
appendable.go
in collector/receiver/prometheusreceiver/internal
56 2 2
env.go
in collector/internal/env
63 2 1
config.go
in collector/receiver/prometheusreceiver
228 7 1
starttimemetricadjuster.go
in collector/receiver/prometheusreceiver/internal
123 4 1
util.go
in confgenerator
97 9 1
119 4 1
Correlations

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

run-service-simple.yaml x: 7 commits (all time) y: 35 lines of code collector/exporter/googlemanagedprometheusexporter/config.go x: 5 commits (all time) y: 56 lines of code collector/exporter/googlemanagedprometheusexporter/factory.go x: 6 commits (all time) y: 56 lines of code collector/receiver/prometheusreceiver/config.go x: 5 commits (all time) y: 228 lines of code collector/receiver/prometheusreceiver/factory.go x: 4 commits (all time) y: 40 lines of code collector/receiver/prometheusreceiver/internal/appendable.go x: 4 commits (all time) y: 56 lines of code collector/receiver/prometheusreceiver/internal/metadata.go x: 2 commits (all time) y: 56 lines of code collector/receiver/prometheusreceiver/internal/metricfamily.go x: 3 commits (all time) y: 328 lines of code collector/receiver/prometheusreceiver/internal/transaction.go x: 3 commits (all time) y: 220 lines of code collector/receiver/prometheusreceiver/internal/util.go x: 2 commits (all time) y: 100 lines of code collector/receiver/prometheusreceiver/metrics_receiver.go x: 6 commits (all time) y: 273 lines of code collector/service/components.go x: 3 commits (all time) y: 111 lines of code collector/service/main.go x: 4 commits (all time) y: 61 lines of code confgenerator/agentmetrics.go x: 6 commits (all time) y: 72 lines of code confgenerator/confgenerator.go x: 7 commits (all time) y: 42 lines of code confgenerator/config.go x: 9 commits (all time) y: 340 lines of code confgenerator/otel/processors.go x: 5 commits (all time) y: 157 lines of code collector/exporter/googlemanagedprometheusexporter/metadata.yaml x: 3 commits (all time) y: 13 lines of code collector/receiver/prometheusreceiver/metadata.yaml x: 2 commits (all time) y: 16 lines of code confgenerator/util.go x: 5 commits (all time) y: 97 lines of code collector/exporter/googlemanagedprometheusexporter/internal/metadata/generated_status.go x: 2 commits (all time) y: 10 lines of code collector/receiver/prometheusreceiver/doc.go x: 2 commits (all time) y: 1 lines of code collector/receiver/prometheusreceiver/internal/metadata/generated_status.go x: 1 commits (all time) y: 10 lines of code entrypoint.go x: 5 commits (all time) y: 119 lines of code run-service.yaml x: 9 commits (all time) y: 45 lines of code cloudbuild-simple.yaml x: 5 commits (all time) y: 61 lines of code collector/internal/env/env.go x: 2 commits (all time) y: 63 lines of code cloudbuild-single-req.yaml x: 4 commits (all time) y: 85 lines of code cloudbuild.yaml x: 6 commits (all time) y: 85 lines of code confgenerator/otel/modular.go x: 3 commits (all time) y: 76 lines of code default-config.yaml x: 1 commits (all time) y: 1 lines of code sample-apps/simple-app/main.go x: 2 commits (all time) y: 51 lines of code sample-apps/single-req-app/main.go x: 2 commits (all time) y: 98 lines of code collector/receiver/prometheusreceiver/internal/metrics_adjuster.go x: 2 commits (all time) y: 302 lines of code collector/receiver/prometheusreceiver/internal/starttimemetricadjuster.go x: 2 commits (all time) y: 123 lines of code collector/cmd/rungmpcol/main.go x: 1 commits (all time) y: 8 lines of code collector/internal/collectorerror/errors.go x: 1 commits (all time) y: 3 lines of code collector/internal/levelchanger/levelchanger.go x: 1 commits (all time) y: 49 lines of code collector/internal/version/version.go x: 1 commits (all time) y: 29 lines of code collector/receiver/prometheusreceiver/internal/logger.go x: 1 commits (all time) y: 102 lines of code collector/receiver/prometheusreceiver/internal/prom_to_otlp.go x: 1 commits (all time) y: 67 lines of code
340.0
lines of code
  min: 1.0
  average: 87.35
  25th percentile: 29.0
  median: 61.0
  75th percentile: 102.0
  max: 340.0
0 9.0
commits (all time)
min: 1.0 | average: 3.42 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 9.0

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

run-service-simple.yaml x: 2 contributors (all time) y: 35 lines of code collector/exporter/googlemanagedprometheusexporter/config.go x: 2 contributors (all time) y: 56 lines of code collector/receiver/prometheusreceiver/config.go x: 2 contributors (all time) y: 228 lines of code collector/receiver/prometheusreceiver/factory.go x: 2 contributors (all time) y: 40 lines of code collector/receiver/prometheusreceiver/internal/metricfamily.go x: 2 contributors (all time) y: 328 lines of code collector/receiver/prometheusreceiver/internal/transaction.go x: 2 contributors (all time) y: 220 lines of code collector/receiver/prometheusreceiver/internal/util.go x: 2 contributors (all time) y: 100 lines of code collector/receiver/prometheusreceiver/metrics_receiver.go x: 2 contributors (all time) y: 273 lines of code collector/service/components.go x: 2 contributors (all time) y: 111 lines of code collector/service/main.go x: 2 contributors (all time) y: 61 lines of code confgenerator/agentmetrics.go x: 2 contributors (all time) y: 72 lines of code confgenerator/confgenerator.go x: 2 contributors (all time) y: 42 lines of code confgenerator/config.go x: 3 contributors (all time) y: 340 lines of code confgenerator/otel/processors.go x: 2 contributors (all time) y: 157 lines of code collector/exporter/googlemanagedprometheusexporter/metadata.yaml x: 2 contributors (all time) y: 13 lines of code collector/receiver/prometheusreceiver/metadata.yaml x: 1 contributors (all time) y: 16 lines of code confgenerator/util.go x: 2 contributors (all time) y: 97 lines of code collector/exporter/googlemanagedprometheusexporter/internal/metadata/generated_status.go x: 2 contributors (all time) y: 10 lines of code collector/receiver/prometheusreceiver/doc.go x: 2 contributors (all time) y: 1 lines of code collector/receiver/prometheusreceiver/internal/metadata/generated_status.go x: 1 contributors (all time) y: 10 lines of code entrypoint.go x: 2 contributors (all time) y: 119 lines of code run-service.yaml x: 2 contributors (all time) y: 45 lines of code collector/internal/env/env.go x: 1 contributors (all time) y: 63 lines of code cloudbuild-single-req.yaml x: 1 contributors (all time) y: 85 lines of code confgenerator/otel/modular.go x: 1 contributors (all time) y: 76 lines of code default-config.yaml x: 1 contributors (all time) y: 1 lines of code sample-apps/simple-app/main.go x: 1 contributors (all time) y: 51 lines of code sample-apps/single-req-app/main.go x: 1 contributors (all time) y: 98 lines of code collector/receiver/prometheusreceiver/internal/metrics_adjuster.go x: 1 contributors (all time) y: 302 lines of code collector/receiver/prometheusreceiver/internal/starttimemetricadjuster.go x: 1 contributors (all time) y: 123 lines of code collector/cmd/rungmpcol/main.go x: 1 contributors (all time) y: 8 lines of code collector/internal/collectorerror/errors.go x: 1 contributors (all time) y: 3 lines of code collector/internal/levelchanger/levelchanger.go x: 1 contributors (all time) y: 49 lines of code collector/internal/version/version.go x: 1 contributors (all time) y: 29 lines of code collector/receiver/prometheusreceiver/internal/logger.go x: 1 contributors (all time) y: 102 lines of code collector/receiver/prometheusreceiver/internal/prom_to_otlp.go x: 1 contributors (all time) y: 67 lines of code
340.0
lines of code
  min: 1.0
  average: 87.35
  25th percentile: 29.0
  median: 61.0
  75th percentile: 102.0
  max: 340.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.58 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.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".