aws / aws-node-termination-handler
File Size

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

Intro
Learn more...
File Size Overall
0% | 12% | 41% | 19% | 25%
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% | 18% | 43% | 19% | 18%
yaml0% | 0% | 45% | 9% | 44%
tpl0% | 0% | 0% | 51% | 48%
ps10% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg0% | 19% | 38% | 21% | 20%
config0% | 0% | 39% | 15% | 45%
cmd0% | 0% | 100% | 0% | 0%
scripts0% | 0% | 0% | 100% | 0%
Longest Files (Top 50)
File# lines# units
node.go
in pkg/node
786 42
config.go
in pkg/config
466 8
sqs-monitor.go
in pkg/monitor/sqsevent
341 13
338 6
ec2metadata.go
in pkg/ec2metadata
298 11
asg-lifecycle-event.go
in pkg/monitor/sqsevent
224 7
deployment.yaml
in config/helm/aws-node-termination-handler/templates
221 -
daemonset.linux.yaml
in config/helm/aws-node-termination-handler/templates
214 -
k8s-events.go
in pkg/observability
213 7
daemonset.windows.yaml
in config/helm/aws-node-termination-handler/templates
208 -
opentelemetry.go
in pkg/observability
178 9
interruption-event-store.go
in pkg/interruptioneventstore
159 12
values.yaml
in config/helm/aws-node-termination-handler
135 -
handler.go
in pkg/interruptionevent/draincordon
135 4
webhook.go
in pkg/webhook
124 2
handler.go
in pkg/interruptionevent/asg/launch
122 6
scheduled-event-monitor.go
in pkg/monitor/scheduledevent
121 7
tpl
_helpers.tpl
in config/helm/aws-node-termination-handler/templates
111 -
105 -
spot-itn-monitor.go
in pkg/monitor/spotitn
72 5
psp.yaml
in config/helm/aws-node-termination-handler/templates
70 -
rebalance-recommendation-monitor.go
in pkg/monitor/rebalancerecommendation
70 5
ec2helper.go
in pkg/ec2helper
69 3
asg-lifecycle-monitor.go
in pkg/monitor/asglifecycle
68 5
scheduled-change-event.go
in pkg/monitor/sqsevent
67 1
versioned.go
in pkg/logging
64 9
psp.yaml
in config/helm/squid/templates
60 -
psp.yaml
in config/helm/localstack/templates
60 -
handler.go
in pkg/interruptionevent/internal/common
55 4
tpl
_helpers.tpl
in config/helm/squid/templates
53 -
deployment.yaml
in config/helm/localstack/templates
53 -
tpl
_helpers.tpl
in config/helm/localstack/templates
53 -
clusterrole.yaml
in config/helm/aws-node-termination-handler/templates
52 -
spot-itn-event.go
in pkg/monitor/sqsevent
52 1
rebalance-recommendation-event.go
in pkg/monitor/sqsevent
51 1
ec2-state-change-event.go
in pkg/monitor/sqsevent
49 1
types.go
in pkg/monitor
47 2
probes.go
in pkg/observability
35 2
daemonset.yaml
in config/helm/squid/templates
31 -
sqs-retryer.go
in pkg/monitor/sqsevent
30 2
servicemonitor.yaml
in config/helm/aws-node-termination-handler/templates
29 -
podmonitor.yaml
in config/helm/aws-node-termination-handler/templates
29 -
event-bridge.go
in pkg/monitor/sqsevent
25 1
Chart.yaml
in config/helm/aws-node-termination-handler
24 -
values.yaml
in config/helm/localstack
22 -
common.go
in pkg/uptime
19 1
service.yaml
in config/helm/aws-node-termination-handler/templates
18 -
uptime_windows.go
in pkg/uptime
18 1
values.yaml
in config/helm/squid
17 -
clusterrolebinding.yaml
in config/helm/aws-node-termination-handler/templates
16 -
Files With Most Units (Top 32)
File# lines# units
node.go
in pkg/node
786 42
sqs-monitor.go
in pkg/monitor/sqsevent
341 13
interruption-event-store.go
in pkg/interruptioneventstore
159 12
ec2metadata.go
in pkg/ec2metadata
298 11
versioned.go
in pkg/logging
64 9
opentelemetry.go
in pkg/observability
178 9
config.go
in pkg/config
466 8
scheduled-event-monitor.go
in pkg/monitor/scheduledevent
121 7
asg-lifecycle-event.go
in pkg/monitor/sqsevent
224 7
k8s-events.go
in pkg/observability
213 7
handler.go
in pkg/interruptionevent/asg/launch
122 6
338 6
spot-itn-monitor.go
in pkg/monitor/spotitn
72 5
asg-lifecycle-monitor.go
in pkg/monitor/asglifecycle
68 5
rebalance-recommendation-monitor.go
in pkg/monitor/rebalancerecommendation
70 5
handler.go
in pkg/interruptionevent/draincordon
135 4
handler.go
in pkg/interruptionevent/internal/common
55 4
ec2helper.go
in pkg/ec2helper
69 3
sqs-retryer.go
in pkg/monitor/sqsevent
30 2
types.go
in pkg/monitor
47 2
webhook.go
in pkg/webhook
124 2
probes.go
in pkg/observability
35 2
uptime_windows.go
in pkg/uptime
18 1
common.go
in pkg/uptime
19 1
uptime_linux.go
in pkg/uptime
4 1
uptime_darwin.go
in pkg/uptime
5 1
routing.go
in pkg/logging
15 1
event-bridge.go
in pkg/monitor/sqsevent
25 1
rebalance-recommendation-event.go
in pkg/monitor/sqsevent
51 1
ec2-state-change-event.go
in pkg/monitor/sqsevent
49 1
scheduled-change-event.go
in pkg/monitor/sqsevent
67 1
spot-itn-event.go
in pkg/monitor/sqsevent
52 1
Files With Long Lines (Top 27)

There are 27 files with lines longer than 120 characters. In total, there are 167 long lines.

File# lines# units# long lines
config.go
in pkg/config
466 8 69
338 6 14
node.go
in pkg/node
786 42 12
asg-lifecycle-event.go
in pkg/monitor/sqsevent
224 7 9
sqs-monitor.go
in pkg/monitor/sqsevent
341 13 9
handler.go
in pkg/interruptionevent/draincordon
135 4 8
105 - 5
scheduled-change-event.go
in pkg/monitor/sqsevent
67 1 5
scheduled-event-monitor.go
in pkg/monitor/scheduledevent
121 7 4
rebalance-recommendation-event.go
in pkg/monitor/sqsevent
51 1 3
spot-itn-event.go
in pkg/monitor/sqsevent
52 1 3
rebalance-recommendation-monitor.go
in pkg/monitor/rebalancerecommendation
70 5 3
daemonset.windows.yaml
in config/helm/aws-node-termination-handler/templates
208 - 2
interruption-event-store.go
in pkg/interruptioneventstore
159 12 2
spot-itn-monitor.go
in pkg/monitor/spotitn
72 5 2
ec2-state-change-event.go
in pkg/monitor/sqsevent
49 1 2
asg-lifecycle-monitor.go
in pkg/monitor/asglifecycle
68 5 2
handler.go
in pkg/interruptionevent/asg/launch
122 6 2
handler.go
in pkg/interruptionevent/internal/common
55 4 2
k8s-events.go
in pkg/observability
213 7 2
daemonset.linux.yaml
in config/helm/aws-node-termination-handler/templates
214 - 1
psp.yaml
in config/helm/aws-node-termination-handler/templates
70 - 1
tpl
_helpers.tpl
in config/helm/aws-node-termination-handler/templates
111 - 1
ec2metadata.go
in pkg/ec2metadata
298 11 1
event-bridge.go
in pkg/monitor/sqsevent
25 1 1
webhook.go
in pkg/webhook
124 2 1
opentelemetry.go
in pkg/observability
178 9 1
Correlations

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

config/helm/aws-node-termination-handler/Chart.yaml x: 83 commits (all time) y: 24 lines of code cmd/node-termination-handler.go x: 70 commits (all time) y: 338 lines of code pkg/node/node.go x: 45 commits (all time) y: 786 lines of code config/helm/aws-node-termination-handler/values.yaml x: 84 commits (all time) y: 135 lines of code config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml x: 33 commits (all time) y: 214 lines of code config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml x: 31 commits (all time) y: 208 lines of code config/helm/aws-node-termination-handler/templates/deployment.yaml x: 38 commits (all time) y: 221 lines of code pkg/config/config.go x: 55 commits (all time) y: 466 lines of code pkg/interruptionevent/draincordon/handler.go x: 2 commits (all time) y: 135 lines of code pkg/ec2helper/ec2helper.go x: 1 commits (all time) y: 69 lines of code pkg/observability/opentelemetry.go x: 9 commits (all time) y: 178 lines of code pkg/monitor/sqsevent/asg-lifecycle-event.go x: 18 commits (all time) y: 224 lines of code pkg/monitor/sqsevent/ec2-state-change-event.go x: 9 commits (all time) y: 49 lines of code pkg/monitor/sqsevent/rebalance-recommendation-event.go x: 10 commits (all time) y: 51 lines of code pkg/monitor/sqsevent/scheduled-change-event.go x: 6 commits (all time) y: 67 lines of code pkg/monitor/sqsevent/spot-itn-event.go x: 11 commits (all time) y: 52 lines of code pkg/monitor/sqsevent/sqs-monitor.go x: 31 commits (all time) y: 341 lines of code pkg/monitor/types.go x: 13 commits (all time) y: 47 lines of code pkg/webhook/webhook.go x: 17 commits (all time) y: 124 lines of code pkg/monitor/sqsevent/sqs-retryer.go x: 1 commits (all time) y: 30 lines of code pkg/observability/k8s-events.go x: 7 commits (all time) y: 213 lines of code pkg/ec2metadata/ec2metadata.go x: 27 commits (all time) y: 298 lines of code pkg/monitor/asglifecycle/asg-lifecycle-monitor.go x: 1 commits (all time) y: 68 lines of code scripts/upload-resources-to-github-windows.ps1 x: 1 commits (all time) y: 105 lines of code pkg/interruptionevent/asg/launch/handler.go x: 1 commits (all time) y: 122 lines of code pkg/interruptionevent/internal/common/handler.go x: 1 commits (all time) y: 55 lines of code pkg/uptime/common.go x: 2 commits (all time) y: 19 lines of code config/helm/aws-node-termination-handler/templates/psp.yaml x: 12 commits (all time) y: 70 lines of code config/helm/localstack/templates/psp.yaml x: 2 commits (all time) y: 60 lines of code pkg/logging/versioned.go x: 1 commits (all time) y: 64 lines of code pkg/monitor/rebalancerecommendation/rebalance-recommendation-monitor.go x: 4 commits (all time) y: 70 lines of code pkg/monitor/scheduledevent/scheduled-event-monitor.go x: 7 commits (all time) y: 121 lines of code pkg/monitor/spotitn/spot-itn-monitor.go x: 6 commits (all time) y: 72 lines of code pkg/logging/routing.go x: 1 commits (all time) y: 15 lines of code config/helm/aws-node-termination-handler/templates/_helpers.tpl x: 9 commits (all time) y: 111 lines of code config/helm/aws-node-termination-handler/templates/service.yaml x: 4 commits (all time) y: 18 lines of code config/helm/aws-node-termination-handler/templates/servicemonitor.yaml x: 5 commits (all time) y: 29 lines of code config/helm/aws-node-termination-handler/templates/pdb.yaml x: 3 commits (all time) y: 14 lines of code config/helm/aws-node-termination-handler/templates/podmonitor.yaml x: 7 commits (all time) y: 29 lines of code config/helm/aws-node-termination-handler/templates/serviceaccount.yaml x: 5 commits (all time) y: 13 lines of code config/helm/aws-node-termination-handler/example-values-imds-linux.yaml x: 1 commits (all time) y: 3 lines of code config/helm/aws-node-termination-handler/example-values-queue.yaml x: 1 commits (all time) y: 11 lines of code config/helm/aws-node-termination-handler/templates/clusterrole.yaml x: 8 commits (all time) y: 52 lines of code config/helm/aws-node-termination-handler/templates/clusterrolebinding.yaml x: 3 commits (all time) y: 16 lines of code config/helm/localstack/templates/deployment.yaml x: 2 commits (all time) y: 53 lines of code pkg/interruptioneventstore/interruption-event-store.go x: 8 commits (all time) y: 159 lines of code pkg/observability/probes.go x: 3 commits (all time) y: 35 lines of code config/helm/localstack/Chart.yaml x: 1 commits (all time) y: 6 lines of code config/helm/localstack/values.yaml x: 1 commits (all time) y: 22 lines of code pkg/monitor/sqsevent/event-bridge.go x: 1 commits (all time) y: 25 lines of code config/helm/squid/templates/daemonset.yaml x: 3 commits (all time) y: 31 lines of code config/helm/squid/values.yaml x: 2 commits (all time) y: 17 lines of code pkg/uptime/uptime_windows.go x: 1 commits (all time) y: 18 lines of code config/helm/squid/Chart.yaml x: 1 commits (all time) y: 9 lines of code
786.0
lines of code
  min: 3.0
  average: 88.96
  25th percentile: 14.25
  median: 51.5
  75th percentile: 118.5
  max: 786.0
0 84.0
commits (all time)
min: 1.0 | average: 10.65 | 25th percentile: 1.0 | median: 2.5 | 75th percentile: 9.0 | max: 84.0

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

config/helm/aws-node-termination-handler/Chart.yaml x: 18 contributors (all time) y: 24 lines of code cmd/node-termination-handler.go x: 36 contributors (all time) y: 338 lines of code pkg/node/node.go x: 23 contributors (all time) y: 786 lines of code config/helm/aws-node-termination-handler/values.yaml x: 34 contributors (all time) y: 135 lines of code config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml x: 25 contributors (all time) y: 214 lines of code config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml x: 24 contributors (all time) y: 208 lines of code config/helm/aws-node-termination-handler/templates/deployment.yaml x: 28 contributors (all time) y: 221 lines of code pkg/config/config.go x: 28 contributors (all time) y: 466 lines of code pkg/interruptionevent/draincordon/handler.go x: 2 contributors (all time) y: 135 lines of code pkg/ec2helper/ec2helper.go x: 1 contributors (all time) y: 69 lines of code pkg/observability/opentelemetry.go x: 7 contributors (all time) y: 178 lines of code pkg/monitor/sqsevent/asg-lifecycle-event.go x: 14 contributors (all time) y: 224 lines of code pkg/monitor/sqsevent/ec2-state-change-event.go x: 9 contributors (all time) y: 49 lines of code pkg/monitor/sqsevent/rebalance-recommendation-event.go x: 10 contributors (all time) y: 51 lines of code pkg/monitor/sqsevent/scheduled-change-event.go x: 6 contributors (all time) y: 67 lines of code pkg/monitor/sqsevent/sqs-monitor.go x: 19 contributors (all time) y: 341 lines of code pkg/monitor/types.go x: 11 contributors (all time) y: 47 lines of code pkg/webhook/webhook.go x: 7 contributors (all time) y: 124 lines of code pkg/monitor/sqsevent/sqs-retryer.go x: 1 contributors (all time) y: 30 lines of code pkg/observability/k8s-events.go x: 4 contributors (all time) y: 213 lines of code pkg/ec2metadata/ec2metadata.go x: 13 contributors (all time) y: 298 lines of code pkg/monitor/asglifecycle/asg-lifecycle-monitor.go x: 1 contributors (all time) y: 68 lines of code scripts/upload-resources-to-github-windows.ps1 x: 1 contributors (all time) y: 105 lines of code pkg/interruptionevent/asg/launch/handler.go x: 1 contributors (all time) y: 122 lines of code pkg/interruptionevent/internal/common/handler.go x: 1 contributors (all time) y: 55 lines of code pkg/uptime/common.go x: 2 contributors (all time) y: 19 lines of code config/helm/aws-node-termination-handler/templates/psp.yaml x: 6 contributors (all time) y: 70 lines of code config/helm/localstack/templates/psp.yaml x: 2 contributors (all time) y: 60 lines of code pkg/logging/versioned.go x: 1 contributors (all time) y: 64 lines of code pkg/monitor/rebalancerecommendation/rebalance-recommendation-monitor.go x: 3 contributors (all time) y: 70 lines of code pkg/monitor/scheduledevent/scheduled-event-monitor.go x: 5 contributors (all time) y: 121 lines of code pkg/monitor/spotitn/spot-itn-monitor.go x: 4 contributors (all time) y: 72 lines of code pkg/logging/routing.go x: 1 contributors (all time) y: 15 lines of code config/helm/aws-node-termination-handler/templates/_helpers.tpl x: 5 contributors (all time) y: 111 lines of code config/helm/aws-node-termination-handler/templates/service.yaml x: 1 contributors (all time) y: 18 lines of code config/helm/aws-node-termination-handler/templates/servicemonitor.yaml x: 2 contributors (all time) y: 29 lines of code config/helm/aws-node-termination-handler/templates/podmonitor.yaml x: 4 contributors (all time) y: 29 lines of code config/helm/aws-node-termination-handler/templates/serviceaccount.yaml x: 3 contributors (all time) y: 13 lines of code config/helm/aws-node-termination-handler/example-values-imds-linux.yaml x: 1 contributors (all time) y: 3 lines of code config/helm/aws-node-termination-handler/example-values-queue.yaml x: 1 contributors (all time) y: 11 lines of code config/helm/aws-node-termination-handler/templates/clusterrole.yaml x: 6 contributors (all time) y: 52 lines of code config/helm/aws-node-termination-handler/templates/clusterrolebinding.yaml x: 3 contributors (all time) y: 16 lines of code config/helm/localstack/templates/deployment.yaml x: 2 contributors (all time) y: 53 lines of code pkg/interruptioneventstore/interruption-event-store.go x: 6 contributors (all time) y: 159 lines of code pkg/observability/probes.go x: 3 contributors (all time) y: 35 lines of code config/helm/localstack/Chart.yaml x: 1 contributors (all time) y: 6 lines of code config/helm/localstack/values.yaml x: 1 contributors (all time) y: 22 lines of code pkg/monitor/sqsevent/event-bridge.go x: 1 contributors (all time) y: 25 lines of code config/helm/squid/templates/daemonset.yaml x: 2 contributors (all time) y: 31 lines of code config/helm/squid/values.yaml x: 2 contributors (all time) y: 17 lines of code config/helm/squid/Chart.yaml x: 1 contributors (all time) y: 9 lines of code
786.0
lines of code
  min: 3.0
  average: 88.96
  25th percentile: 14.25
  median: 51.5
  75th percentile: 118.5
  max: 786.0
0 36.0
contributors (all time)
min: 1.0 | average: 6.18 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 6.75 | max: 36.0

File Size vs. Commits (30 days): 3 points

config/helm/aws-node-termination-handler/Chart.yaml x: 1 commits (30d) y: 24 lines of code cmd/node-termination-handler.go x: 1 commits (30d) y: 338 lines of code pkg/node/node.go x: 2 commits (30d) y: 786 lines of code
786.0
lines of code
  min: 24.0
  average: 382.67
  25th percentile: 24.0
  median: 338.0
  75th percentile: 786.0
  max: 786.0
0 2.0
commits (30d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (30 days): 3 points

config/helm/aws-node-termination-handler/Chart.yaml x: 1 contributors (30d) y: 24 lines of code cmd/node-termination-handler.go x: 1 contributors (30d) y: 338 lines of code pkg/node/node.go x: 2 contributors (30d) y: 786 lines of code
786.0
lines of code
  min: 24.0
  average: 382.67
  25th percentile: 24.0
  median: 338.0
  75th percentile: 786.0
  max: 786.0
0 2.0
contributors (30d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 11 points

config/helm/aws-node-termination-handler/Chart.yaml x: 4 commits (90d) y: 24 lines of code cmd/node-termination-handler.go x: 2 commits (90d) y: 338 lines of code pkg/node/node.go x: 4 commits (90d) y: 786 lines of code config/helm/aws-node-termination-handler/values.yaml x: 2 commits (90d) y: 135 lines of code config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml x: 1 commits (90d) y: 214 lines of code config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml x: 1 commits (90d) y: 208 lines of code config/helm/aws-node-termination-handler/templates/deployment.yaml x: 1 commits (90d) y: 221 lines of code pkg/config/config.go x: 1 commits (90d) y: 466 lines of code pkg/interruptionevent/draincordon/handler.go x: 1 commits (90d) y: 135 lines of code pkg/ec2helper/ec2helper.go x: 1 commits (90d) y: 69 lines of code pkg/observability/opentelemetry.go x: 1 commits (90d) y: 178 lines of code
786.0
lines of code
  min: 24.0
  average: 252.18
  25th percentile: 135.0
  median: 208.0
  75th percentile: 338.0
  max: 786.0
0 4.0
commits (90d)
min: 1.0 | average: 1.73 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.0

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

config/helm/aws-node-termination-handler/Chart.yaml x: 2 contributors (90d) y: 24 lines of code cmd/node-termination-handler.go x: 2 contributors (90d) y: 338 lines of code pkg/node/node.go x: 3 contributors (90d) y: 786 lines of code config/helm/aws-node-termination-handler/values.yaml x: 1 contributors (90d) y: 135 lines of code config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml x: 1 contributors (90d) y: 214 lines of code config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml x: 1 contributors (90d) y: 208 lines of code config/helm/aws-node-termination-handler/templates/deployment.yaml x: 1 contributors (90d) y: 221 lines of code pkg/config/config.go x: 1 contributors (90d) y: 466 lines of code pkg/ec2helper/ec2helper.go x: 1 contributors (90d) y: 69 lines of code pkg/observability/opentelemetry.go x: 1 contributors (90d) y: 178 lines of code
786.0
lines of code
  min: 24.0
  average: 252.18
  25th percentile: 135.0
  median: 208.0
  75th percentile: 338.0
  max: 786.0
0 3.0
contributors (90d)
min: 1.0 | average: 1.36 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0