aws-observability / aws-otel-collector
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 60 files with 5,331 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,441 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (1,957 lines of code)
    • 41 very small files (1,933 lines of code)
0% | 0% | 27% | 36% | 36%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
yaml0% | 0% | 34% | 39% | 25%
go0% | 0% | 21% | 37% | 40%
ps10% | 0% | 0% | 67% | 32%
py0% | 0% | 0% | 0% | 100%
wxs0% | 0% | 0% | 0% | 100%
spec0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
config/eks0% | 0% | 36% | 54% | 8%
deployment-template/ecs0% | 0% | 35% | 64% | 0%
tools/workflow0% | 0% | 100% | 0% | 0%
deployment-template/eks0% | 0% | 60% | 0% | 39%
config/ecs0% | 0% | 29% | 0% | 70%
tools/release0% | 0% | 0% | 69% | 30%
tools/ctl0% | 0% | 0% | 100% | 0%
deployment-template/ec20% | 0% | 0% | 100% | 0%
pkg/defaultcomponents0% | 0% | 0% | 100% | 0%
pkg/userutils0% | 0% | 0% | 90% | 9%
tools/ssm0% | 0% | 0% | 0% | 100%
tools/packaging0% | 0% | 0% | 0% | 100%
e2etest0% | 0% | 0% | 0% | 100%
cmd/awscollector0% | 0% | 0% | 0% | 100%
pkg/logger0% | 0% | 0% | 0% | 100%
pkg/extraconfig0% | 0% | 0% | 0% | 100%
pkg/config0% | 0% | 0% | 0% | 100%
pkg/lambdacomponents0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools/version0% | 0% | 0% | 0% | 100%
config/apprunner0% | 0% | 0% | 0% | 100%
e2etest/templates0% | 0% | 0% | 0% | 100%
tools/linters0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
config-all.yaml
in config/eks/prometheus
411 -
aws-otel-container-insights-prometheus-ec2-deployment-cfn.yaml
in deployment-template/ecs
307 -
clean_aws_resources.go
in tools/workflow
288 7
otel-container-insights-infra.yaml
in deployment-template/eks
222 -
otel-task-metrics-config.yaml
in config/ecs/container-insights
213 -
aws-otel-fargate-sidecar-deployment-cfn.yaml
in deployment-template/ecs
200 -
aws-otel-ec2-sidecar-deployment-cfn.yaml
in deployment-template/ecs
199 -
config-haproxy.yaml
in config/eks/prometheus
177 -
mirror.go
in tools/release/adot-operator-images-mirror
176 13
aws-otel-ec2-instance-metrics-daemon-deployment-cfn.yaml
in deployment-template/ecs
152 -
aws-otel-collector-ctl.ps1
in tools/ctl/windows
145 -
aws-otel-ec2-deployment-cfn.yaml
in deployment-template/ec2
139 -
config-memcached.yaml
in config/eks/prometheus
117 -
config-redis.yaml
in config/eks/prometheus
114 -
defaults.go
in pkg/defaultcomponents
112 1
userutil_linux.go
in pkg/userutils
110 6
config-nginx.yaml
in config/eks/prometheus
108 -
config-jmx.yaml
in config/eks/prometheus
106 -
main.go
in tools/release/adot-operator-images-mirror
102 2
config-appmesh.yaml
in config/eks/prometheus
98 -
ssm_manifest.py
in tools/ssm
97 1
wxs
aws-otel-collector.wxs
in tools/packaging/windows
96 -
ecs-cloudwatch-xray.yaml
in config/ecs
93 -
otel-container-insights-prometheus.yaml
in deployment-template/eks
92 -
ecs-cloudwatch.yaml
in config/ecs
85 -
get-performance-model-table.py
in e2etest
85 4
main.go
in cmd/awscollector
84 4
ecr_manager.go
in tools/release/adot-operator-images-mirror
82 6
get-testcases.py
in e2etest
76 -
ssm_create.py
in tools/ssm
75 -
logger.go
in pkg/logger
74 5
ecs-amp-xray-prometheus.yaml
in config/ecs
66 -
extraconfig.go
in pkg/extraconfig
63 2
ecs-amp-xray.yaml
in config/ecs
57 -
spec
build.spec
in tools/packaging/linux
56 -
ecs-amp-prometheus.yaml
in config/ecs
52 -
otel-cloudwatch-sidecar.yaml
in deployment-template/eks
50 -
ecs-amp.yaml
in config/ecs
49 -
otel-instance-metrics-config.yaml
in config/ecs
46 -
defaults.go
in pkg/lambdacomponents
42 1
flags.go
in pkg/config
37 5
ecs-default-config.yaml
in config/ecs
37 -
config.yaml
in root
32 -
main_windows.go
in cmd/awscollector
29 3
build.go
in tools/version
28 2
apprunner-default-config.yaml
in config/apprunner
28 -
ecs-xray.yaml
in config/ecs
28 -
docker_auth.go
in tools/release/adot-operator-images-mirror
27 1
uninstall.ps1
in tools/ssm/windows-amd64-msi
25 -
install.ps1
in tools/ssm/windows-amd64-msi
24 -
Files With Most Units (Top 20)
File# lines# units
mirror.go
in tools/release/adot-operator-images-mirror
176 13
clean_aws_resources.go
in tools/workflow
288 7
userutil_linux.go
in pkg/userutils
110 6
ecr_manager.go
in tools/release/adot-operator-images-mirror
82 6
flags.go
in pkg/config
37 5
logger.go
in pkg/logger
74 5
get-performance-model-table.py
in e2etest
85 4
main.go
in cmd/awscollector
84 4
main_windows.go
in cmd/awscollector
29 3
set_uid_gid.go
in pkg/userutils
8 2
extraconfig.go
in pkg/extraconfig
63 2
build.go
in tools/version
28 2
main.go
in tools/release/adot-operator-images-mirror
102 2
main_others.go
in cmd/awscollector
20 2
userutil_darwin.go
in pkg/userutils
4 1
defaults.go
in pkg/lambdacomponents
42 1
config_factory.go
in pkg/config
17 1
container.go
in pkg/extraconfig
9 1
defaults.go
in pkg/defaultcomponents
112 1
ssm_manifest.py
in tools/ssm
97 1
Files With Long Lines (Top 17)

There are 17 files with lines longer than 120 characters. In total, there are 46 long lines.

File# lines# units# long lines
clean_aws_resources.go
in tools/workflow
288 7 12
config-all.yaml
in config/eks/prometheus
411 - 5
aws-otel-container-insights-prometheus-ec2-deployment-cfn.yaml
in deployment-template/ecs
307 - 4
main.go
in tools/release/adot-operator-images-mirror
102 2 3
tpl
performance_model.tpl
in e2etest/templates
13 - 3
get-performance-model-table.py
in e2etest
85 4 3
flags.go
in pkg/config
37 5 2
aws-otel-collector-ctl.ps1
in tools/ctl/windows
145 - 2
config-appmesh.yaml
in config/eks/prometheus
98 - 2
config-haproxy.yaml
in config/eks/prometheus
177 - 2
aws-otel-ec2-deployment-cfn.yaml
in deployment-template/ec2
139 - 2
logger.go
in pkg/logger
74 5 1
spec
build.spec
in tools/packaging/linux
56 - 1
wxs
aws-otel-collector.wxs
in tools/packaging/windows
96 - 1
uninstall.ps1
in tools/ssm/windows-amd64-msi
25 - 1
config-jmx.yaml
in config/eks/prometheus
106 - 1
otel-container-insights-infra.yaml
in deployment-template/eks
222 - 1