aws / amazon-cloudwatch-agent-operator
File Size

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

Intro
Learn more...
File Size Overall
58% | 1% | 13% | 9% | 16%
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
yaml95% | 0% | 1% | 1% | 1%
go8% | 4% | 30% | 20% | 36%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
config95% | 0% | 1% | 1% | 1%
apis39% | 18% | 19% | 5% | 17%
pkg0% | 0% | 48% | 22% | 28%
cmd0% | 0% | 56% | 17% | 25%
internal0% | 0% | 15% | 26% | 58%
ROOT0% | 0% | 100% | 0% | 0%
controllers0% | 0% | 0% | 60% | 39%
Longest Files (Top 50)
File# lines# units
9049 -
3203 -
3024 -
1790 -
zz_generated.deepcopy.go
in apis/v1alpha1
1137 86
zz_generated.deepcopy.go
in apis/v1alpha2
540 40
sdk.go
in pkg/instrumentation
463 14
podmutator.go
in pkg/instrumentation
365 10
main.go
in root
344 7
292 10
promOperator.go
in cmd/amazon-cloudwatch-agent-target-allocator/watcher
287 9
collector_webhook.go
in apis/v1alpha1
279 8
ports.go
in internal/manifests/collector
274 12
mutate.go
in internal/manifests
266 21
server.go
in cmd/amazon-cloudwatch-agent-target-allocator/server
257 19
nginx.go
in pkg/instrumentation
251 5
defaultinstrumentation.go
in pkg/instrumentation
225 6
main.go
in cmd/amazon-cloudwatch-agent-target-allocator
220 1
role.yaml
in config/rbac
217 -
config_to_prom_config.go
in internal/manifests/targetallocator/adapters
207 12
config.go
in cmd/amazon-cloudwatch-agent-target-allocator/config
207 9
apachehttpd.go
in pkg/instrumentation
203 4
consistent_hashing.go
in cmd/amazon-cloudwatch-agent-target-allocator/allocation
197 12
manifests.yaml
in config/webhook
192 -
annotation.go
in pkg/instrumentation/auto
192 15
common.go
in controllers
163 7
container.go
in internal/manifests/collector
154 5
152 1
podmutator.go
in pkg/sidecar
147 8
146 5
main.go
in internal/version
139 13
dotnet.go
in pkg/instrumentation
132 2
config_replace.go
in internal/manifests/collector
131 3
options.go
in internal/config
129 18
service.go
in internal/manifests/collector
127 6
config_from.go
in internal/manifests/collector/adapters
126 5
callback.go
in pkg/instrumentation/auto
123 8
ingress.go
in internal/manifests/collector
123 4
config_to_probe.go
in internal/manifests/collector/adapters
121 7
upgrade.go
in pkg/instrumentation/upgrade
113 2
collector.go
in cmd/amazon-cloudwatch-agent-target-allocator/collector
111 5
main.go
in internal/config
109 17
config_to_ports.go
in internal/manifests/collector/adapters
103 4
receiver.go
in internal/manifests/collector/parser/receiver
100 9
99 5
99 5
instrumentation_types.go
in apis/v1alpha2
95 1
receiver_otlp.go
in internal/manifests/collector/parser/receiver
95 4
instrumentation_types.go
in apis/v1alpha1
94 1
receiver_jaeger.go
in internal/manifests/collector/parser/receiver
94 4
Files With Most Units (Top 50)
File# lines# units
zz_generated.deepcopy.go
in apis/v1alpha1
1137 86
zz_generated.deepcopy.go
in apis/v1alpha2
540 40
main.go
in internal/naming
79 26
mutate.go
in internal/manifests
266 21
server.go
in cmd/amazon-cloudwatch-agent-target-allocator/server
257 19
options.go
in internal/config
129 18
main.go
in internal/config
109 17
annotation.go
in pkg/instrumentation/auto
192 15
sdk.go
in pkg/instrumentation
463 14
main.go
in internal/version
139 13
ports.go
in internal/manifests/collector
274 12
config_to_prom_config.go
in internal/manifests/targetallocator/adapters
207 12
consistent_hashing.go
in cmd/amazon-cloudwatch-agent-target-allocator/allocation
197 12
292 10
podmutator.go
in pkg/instrumentation
365 10
receiver.go
in internal/manifests/collector/parser/receiver
100 9
flags.go
in cmd/amazon-cloudwatch-agent-target-allocator/config
61 9
config.go
in cmd/amazon-cloudwatch-agent-target-allocator/config
207 9
strategy.go
in cmd/amazon-cloudwatch-agent-target-allocator/allocation
90 9
promOperator.go
in cmd/amazon-cloudwatch-agent-target-allocator/watcher
287 9
collector_webhook.go
in apis/v1alpha1
279 8
podmutator.go
in pkg/sidecar
147 8
callback.go
in pkg/instrumentation/auto
123 8
annotationmutator.go
in pkg/instrumentation
71 7
common.go
in controllers
163 7
main.go
in root
344 7
config_to_probe.go
in internal/manifests/collector/adapters
121 7
prometheus_config.go
in apis/v1alpha1
68 6
defaultinstrumentation.go
in pkg/instrumentation
225 6
helper.go
in pkg/instrumentation
87 6
service.go
in internal/manifests/collector
127 6
relabel.go
in cmd/amazon-cloudwatch-agent-target-allocator/prehook
74 6
nginx.go
in pkg/instrumentation
251 5
config.go
in pkg/instrumentation/auto
40 5
99 5
146 5
99 5
container.go
in internal/manifests/collector
154 5
config_from.go
in internal/manifests/collector/adapters
126 5
collector.go
in cmd/amazon-cloudwatch-agent-target-allocator/collector
111 5
apachehttpd.go
in pkg/instrumentation
203 4
receiver_jaeger.go
in internal/manifests/collector/parser/receiver
94 4
receiver_otlp.go
in internal/manifests/collector/parser/receiver
95 4
config_to_ports.go
in internal/manifests/collector/adapters
103 4
ingress.go
in internal/manifests/collector
123 4
labels.go
in internal/manifests/manifestutils
63 4
diff.go
in cmd/amazon-cloudwatch-agent-target-allocator/diff
38 4
allocatortest.go
in cmd/amazon-cloudwatch-agent-target-allocator/allocation
50 4
file.go
in cmd/amazon-cloudwatch-agent-target-allocator/watcher
64 4
pod.go
in pkg/sidecar
55 3
Files With Long Lines (Top 50)

There are 77 files with lines longer than 120 characters. In total, there are 1027 long lines.

File# lines# units# long lines
9049 - 392
3203 - 134
3024 - 133
1790 - 75
collector_webhook.go
in apis/v1alpha1
279 8 33
sdk.go
in pkg/instrumentation
463 14 29
defaultinstrumentation.go
in pkg/instrumentation
225 6 26
ports.go
in internal/manifests/collector
274 12 23
podmutator.go
in pkg/instrumentation
365 10 18
main.go
in root
344 7 15
dotnet.go
in pkg/instrumentation
132 2 9
podmutator.go
in pkg/sidecar
147 8 8
service.go
in internal/manifests/collector
127 6 7
config_to_prom_config.go
in internal/manifests/targetallocator/adapters
207 12 7
apachehttpd.go
in pkg/instrumentation
203 4 6
nginx.go
in pkg/instrumentation
251 5 6
mutate.go
in internal/manifests
266 21 6
annotation.go
in pkg/instrumentation/auto
192 15 5
common.go
in controllers
163 7 5
promOperator.go
in cmd/amazon-cloudwatch-agent-target-allocator/watcher
287 9 5
292 10 4
env.go
in pkg/constants
24 - 4
featuregate.go
in pkg/featuregate
79 1 3
upgrade.go
in pkg/instrumentation/upgrade
113 2 3
config_to_probe.go
in internal/manifests/collector/adapters
121 7 3
flags.go
in cmd/amazon-cloudwatch-agent-target-allocator/config
61 9 3
collector.go
in cmd/amazon-cloudwatch-agent-target-allocator/collector
111 5 3
consistent_hashing.go
in cmd/amazon-cloudwatch-agent-target-allocator/allocation
197 12 3
zz_generated.deepcopy.go
in apis/v1alpha1
1137 86 2
146 5 2
deployment.go
in internal/manifests/collector
50 1 2
statefulset.go
in internal/manifests/collector
52 1 2
daemonset.go
in internal/manifests/collector
48 1 2
configmap.go
in internal/manifests/collector
77 1 2
podmonitor.go
in internal/manifests/collector
58 2 2
config_to_ports.go
in internal/manifests/collector/adapters
103 4 2
ingress.go
in internal/manifests/collector
123 4 2
server.go
in cmd/amazon-cloudwatch-agent-target-allocator/server
257 19 2
prometheus_config.go
in apis/v1alpha1
68 6 1
allocation_strategy.go
in apis/v1alpha1
7 - 1
manager.yaml
in config/manager
39 - 1
pod.go
in pkg/sidecar
55 3 1
python.go
in pkg/instrumentation
92 1 1
restart.go
in pkg/instrumentation/auto
35 2 1
callback.go
in pkg/instrumentation/auto
123 8 1
99 5 1
99 5 1
handle.go
in internal/status/dcgmexporter
35 1 1
collector.go
in internal/status/collector
70 1 1
handle.go
in internal/status/collector
35 1 1
Correlations

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

config/rbac/agent_role.yaml x: 5 commits (all time) y: 32 lines of code cmd/amazon-cloudwatch-agent-target-allocator/config/config.go x: 2 commits (all time) y: 207 lines of code internal/manifests/collector/adapters/config_from.go x: 11 commits (all time) y: 126 lines of code internal/manifests/collector/config_replace.go x: 10 commits (all time) y: 131 lines of code internal/manifests/collector/ports.go x: 11 commits (all time) y: 274 lines of code pkg/instrumentation/defaultinstrumentation.go x: 22 commits (all time) y: 225 lines of code main.go x: 84 commits (all time) y: 344 lines of code cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go x: 2 commits (all time) y: 287 lines of code controllers/common.go x: 11 commits (all time) y: 163 lines of code pkg/instrumentation/podmutator.go x: 46 commits (all time) y: 365 lines of code apis/v1alpha1/allocation_strategy.go x: 3 commits (all time) y: 7 lines of code apis/v1alpha1/prometheus_config.go x: 1 commits (all time) y: 68 lines of code apis/v1alpha1/zz_generated.deepcopy.go x: 70 commits (all time) y: 1137 lines of code apis/v1alpha2/amazoncloudwatchagent_types.go x: 7 commits (all time) y: 68 lines of code apis/v1alpha2/zz_generated.deepcopy.go x: 11 commits (all time) y: 540 lines of code cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go x: 1 commits (all time) y: 197 lines of code cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go x: 1 commits (all time) y: 90 lines of code cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go x: 1 commits (all time) y: 111 lines of code cmd/amazon-cloudwatch-agent-target-allocator/main.go x: 1 commits (all time) y: 220 lines of code cmd/amazon-cloudwatch-agent-target-allocator/server/server.go x: 1 commits (all time) y: 257 lines of code cmd/amazon-cloudwatch-agent-target-allocator/watcher/watcher.go x: 1 commits (all time) y: 28 lines of code config/crd/bases/cloudwatch.aws.amazon.com_amazoncloudwatchagents.yaml x: 12 commits (all time) y: 9049 lines of code controllers/amazoncloudwatchagent_controller.go x: 9 commits (all time) y: 146 lines of code internal/config/main.go x: 46 commits (all time) y: 109 lines of code internal/config/options.go x: 32 commits (all time) y: 129 lines of code internal/manifests/collector/collector.go x: 13 commits (all time) y: 64 lines of code internal/manifests/collector/configmap.go x: 11 commits (all time) y: 77 lines of code internal/manifests/collector/container.go x: 22 commits (all time) y: 154 lines of code internal/manifests/collector/volume.go x: 8 commits (all time) y: 64 lines of code internal/manifests/targetallocator/adapters/config_to_prom_config.go x: 4 commits (all time) y: 207 lines of code internal/manifests/targetallocator/configmap.go x: 8 commits (all time) y: 72 lines of code internal/manifests/targetallocator/container.go x: 9 commits (all time) y: 63 lines of code internal/manifests/targetallocator/deployment.go x: 10 commits (all time) y: 54 lines of code internal/manifests/targetallocator/labels.go x: 6 commits (all time) y: 21 lines of code internal/manifests/targetallocator/service.go x: 7 commits (all time) y: 34 lines of code internal/manifests/targetallocator/targetallocator.go x: 10 commits (all time) y: 26 lines of code internal/manifests/targetallocator/volume.go x: 5 commits (all time) y: 41 lines of code internal/naming/main.go x: 14 commits (all time) y: 79 lines of code internal/naming/port.go x: 4 commits (all time) y: 24 lines of code internal/version/main.go x: 22 commits (all time) y: 139 lines of code pkg/featuregate/featuregate.go x: 17 commits (all time) y: 79 lines of code pkg/instrumentation/sdk.go x: 41 commits (all time) y: 463 lines of code config/crd/bases/cloudwatch.aws.amazon.com_dcgmexporters.yaml x: 2 commits (all time) y: 3024 lines of code config/crd/bases/cloudwatch.aws.amazon.com_instrumentations.yaml x: 7 commits (all time) y: 1790 lines of code config/crd/bases/cloudwatch.aws.amazon.com_neuronmonitors.yaml x: 2 commits (all time) y: 3203 lines of code internal/manifests/collector/adapters/config_to_ports.go x: 10 commits (all time) y: 103 lines of code internal/manifests/collector/parser/receiver/receiver.go x: 5 commits (all time) y: 100 lines of code internal/manifests/collector/service.go x: 14 commits (all time) y: 127 lines of code pkg/instrumentation/auto/config.go x: 3 commits (all time) y: 40 lines of code pkg/instrumentation/dotnet.go x: 17 commits (all time) y: 132 lines of code pkg/instrumentation/javaagent.go x: 20 commits (all time) y: 67 lines of code apis/v1alpha1/dcgmexpoter_types.go x: 2 commits (all time) y: 41 lines of code controllers/dcgmexporter_controller.go x: 2 commits (all time) y: 99 lines of code config/manager/manager.yaml x: 12 commits (all time) y: 39 lines of code config/manager/kustomization.yaml x: 27 commits (all time) y: 8 lines of code config/crd/kustomization.yaml x: 8 commits (all time) y: 5 lines of code config/rbac/role.yaml x: 36 commits (all time) y: 217 lines of code pkg/instrumentation/auto/annotation.go x: 6 commits (all time) y: 192 lines of code pkg/instrumentation/auto/callback.go x: 2 commits (all time) y: 123 lines of code pkg/instrumentation/auto/restart.go x: 2 commits (all time) y: 35 lines of code config/webhook/manifests.yaml x: 21 commits (all time) y: 192 lines of code apis/v1alpha1/instrumentation_types.go x: 25 commits (all time) y: 94 lines of code apis/v1alpha1/instrumentation_webhook.go x: 28 commits (all time) y: 292 lines of code apis/v1alpha2/instrumentation_types.go x: 4 commits (all time) y: 95 lines of code internal/manifests/collector/adapters/config_to_probe.go x: 3 commits (all time) y: 121 lines of code internal/manifests/collector/horizontalpodautoscaler.go x: 9 commits (all time) y: 91 lines of code internal/manifests/collector/podmonitor.go x: 6 commits (all time) y: 58 lines of code internal/manifests/mutate.go x: 7 commits (all time) y: 266 lines of code pkg/instrumentation/annotation.go x: 16 commits (all time) y: 43 lines of code pkg/instrumentation/apachehttpd.go x: 8 commits (all time) y: 203 lines of code pkg/instrumentation/helper.go x: 15 commits (all time) y: 87 lines of code pkg/instrumentation/nginx.go x: 5 commits (all time) y: 251 lines of code pkg/sidecar/pod.go x: 21 commits (all time) y: 55 lines of code pkg/sidecar/podmutator.go x: 16 commits (all time) y: 147 lines of code
9049.0
lines of code
  min: 4.0
  average: 180.41
  25th percentile: 22.0
  median: 48.0
  75th percentile: 101.5
  max: 9049.0
0 84.0
commits (all time)
min: 1.0 | average: 8.06 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 10.0 | max: 84.0

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

config/rbac/agent_role.yaml x: 5 contributors (all time) y: 32 lines of code cmd/amazon-cloudwatch-agent-target-allocator/config/config.go x: 2 contributors (all time) y: 207 lines of code internal/manifests/collector/adapters/config_from.go x: 6 contributors (all time) y: 126 lines of code internal/manifests/collector/ports.go x: 9 contributors (all time) y: 274 lines of code pkg/instrumentation/defaultinstrumentation.go x: 14 contributors (all time) y: 225 lines of code main.go x: 29 contributors (all time) y: 344 lines of code cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go x: 2 contributors (all time) y: 287 lines of code controllers/common.go x: 7 contributors (all time) y: 163 lines of code pkg/instrumentation/podmutator.go x: 21 contributors (all time) y: 365 lines of code apis/v1alpha1/allocation_strategy.go x: 3 contributors (all time) y: 7 lines of code apis/v1alpha1/amazoncloudwatchagent_types.go x: 5 contributors (all time) y: 152 lines of code apis/v1alpha1/collector_webhook.go x: 6 contributors (all time) y: 279 lines of code apis/v1alpha1/prometheus_config.go x: 1 contributors (all time) y: 68 lines of code apis/v1alpha1/zz_generated.deepcopy.go x: 35 contributors (all time) y: 1137 lines of code apis/v1alpha2/amazoncloudwatchagent_types.go x: 5 contributors (all time) y: 68 lines of code apis/v1alpha2/zz_generated.deepcopy.go x: 5 contributors (all time) y: 540 lines of code cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go x: 1 contributors (all time) y: 197 lines of code cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go x: 1 contributors (all time) y: 90 lines of code cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go x: 1 contributors (all time) y: 111 lines of code cmd/amazon-cloudwatch-agent-target-allocator/main.go x: 1 contributors (all time) y: 220 lines of code cmd/amazon-cloudwatch-agent-target-allocator/server/server.go x: 1 contributors (all time) y: 257 lines of code cmd/amazon-cloudwatch-agent-target-allocator/watcher/watcher.go x: 1 contributors (all time) y: 28 lines of code config/crd/bases/cloudwatch.aws.amazon.com_amazoncloudwatchagents.yaml x: 5 contributors (all time) y: 9049 lines of code controllers/amazoncloudwatchagent_controller.go x: 4 contributors (all time) y: 146 lines of code internal/config/main.go x: 23 contributors (all time) y: 109 lines of code internal/config/options.go x: 17 contributors (all time) y: 129 lines of code internal/manifests/collector/collector.go x: 8 contributors (all time) y: 64 lines of code internal/manifests/collector/configmap.go x: 7 contributors (all time) y: 77 lines of code internal/manifests/collector/container.go x: 13 contributors (all time) y: 154 lines of code internal/manifests/collector/volume.go x: 6 contributors (all time) y: 64 lines of code internal/manifests/manifestutils/labels.go x: 4 contributors (all time) y: 63 lines of code internal/manifests/targetallocator/adapters/config_to_prom_config.go x: 3 contributors (all time) y: 207 lines of code internal/manifests/targetallocator/configmap.go x: 5 contributors (all time) y: 72 lines of code internal/manifests/targetallocator/labels.go x: 4 contributors (all time) y: 21 lines of code internal/manifests/targetallocator/targetallocator.go x: 7 contributors (all time) y: 26 lines of code internal/manifests/targetallocator/volume.go x: 3 contributors (all time) y: 41 lines of code internal/naming/main.go x: 9 contributors (all time) y: 79 lines of code internal/version/main.go x: 12 contributors (all time) y: 139 lines of code pkg/featuregate/featuregate.go x: 10 contributors (all time) y: 79 lines of code pkg/instrumentation/sdk.go x: 21 contributors (all time) y: 463 lines of code config/crd/bases/cloudwatch.aws.amazon.com_dcgmexporters.yaml x: 2 contributors (all time) y: 3024 lines of code config/crd/bases/cloudwatch.aws.amazon.com_instrumentations.yaml x: 3 contributors (all time) y: 1790 lines of code config/crd/bases/cloudwatch.aws.amazon.com_neuronmonitors.yaml x: 2 contributors (all time) y: 3203 lines of code internal/manifests/collector/adapters/config_to_ports.go x: 6 contributors (all time) y: 103 lines of code internal/manifests/collector/parser/receiver/receiver.go x: 3 contributors (all time) y: 100 lines of code internal/manifests/collector/service.go x: 9 contributors (all time) y: 127 lines of code pkg/instrumentation/javaagent.go x: 9 contributors (all time) y: 67 lines of code apis/v1alpha1/dcgmexpoter_types.go x: 2 contributors (all time) y: 41 lines of code config/manager/manager.yaml x: 10 contributors (all time) y: 39 lines of code config/manager/kustomization.yaml x: 17 contributors (all time) y: 8 lines of code config/rbac/role.yaml x: 19 contributors (all time) y: 217 lines of code pkg/instrumentation/auto/callback.go x: 2 contributors (all time) y: 123 lines of code pkg/instrumentation/auto/restart.go x: 2 contributors (all time) y: 35 lines of code config/webhook/manifests.yaml x: 10 contributors (all time) y: 192 lines of code apis/v1alpha1/instrumentation_types.go x: 13 contributors (all time) y: 94 lines of code apis/v1alpha1/instrumentation_webhook.go x: 16 contributors (all time) y: 292 lines of code internal/manifests/collector/adapters/config_to_probe.go x: 3 contributors (all time) y: 121 lines of code internal/manifests/collector/adapters/config_validate.go x: 4 contributors (all time) y: 76 lines of code internal/manifests/mutate.go x: 7 contributors (all time) y: 266 lines of code pkg/instrumentation/annotation.go x: 12 contributors (all time) y: 43 lines of code pkg/instrumentation/apachehttpd.go x: 5 contributors (all time) y: 203 lines of code pkg/instrumentation/nginx.go x: 3 contributors (all time) y: 251 lines of code pkg/instrumentation/python.go x: 11 contributors (all time) y: 92 lines of code pkg/instrumentation/upgrade/upgrade.go x: 10 contributors (all time) y: 113 lines of code pkg/sidecar/podmutator.go x: 8 contributors (all time) y: 147 lines of code
9049.0
lines of code
  min: 4.0
  average: 180.41
  25th percentile: 22.0
  median: 48.0
  75th percentile: 101.5
  max: 9049.0
0 35.0
contributors (all time)
min: 1.0 | average: 4.87 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.0 | max: 35.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): 1 points

config/rbac/agent_role.yaml x: 1 commits (90d) y: 32 lines of code
32.0
lines of code
  min: 32.0
  average: 32.0
  25th percentile: 32.0
  median: 32.0
  75th percentile: 32.0
  max: 32.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

config/rbac/agent_role.yaml x: 1 contributors (90d) y: 32 lines of code
32.0
lines of code
  min: 32.0
  average: 32.0
  25th percentile: 32.0
  median: 32.0
  75th percentile: 32.0
  max: 32.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0