elastic / apm-server
File Size

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

Intro
Learn more...
File Size Overall
0% | 6% | 33% | 27% | 32%
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% | 8% | 34% | 28% | 29%
tf0% | 0% | 27% | 30% | 42%
yaml0% | 0% | 0% | 0% | 100%
tfvars0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 16% | 19% | 24% | 39%
systemtest0% | 0% | 51% | 30% | 17%
x-pack0% | 0% | 56% | 20% | 22%
functionaltests0% | 0% | 31% | 46% | 22%
testing0% | 0% | 24% | 26% | 48%
cmd0% | 0% | 91% | 0% | 8%
ROOT0% | 0% | 0% | 0% | 100%
packaging0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
beater.go
in internal/beater
821 16
beat.go
in internal/beatcmd
723 20
server.go
in systemtest/apmservertest
499 19
processor.go
in x-pack/apm-server/sampling
384 10
containers.go
in systemtest
360 13
client.go
in systemtest/fleettest
332 21
storage_manager.go
in x-pack/apm-server/sampling/eventstorage
320 24
main.go
in systemtest/cmd/sendotlp
319 11
config.go
in systemtest/apmservertest
305 14
utils.go
in functionaltests
303 24
metadata_fetcher.go
in internal/sourcemap
298 14
mux.go
in internal/beater/api
291 16
pubsub.go
in x-pack/apm-server/sampling/pubsub
291 8
main.tf
in testing/infra/terraform/modules/standalone_apm_server
275 -
metric_exporter.go
in internal/telemetry
270 14
elasticsearch.go
in internal/agentcfg
268 6
main.go
in cmd/intake-receiver
266 12
context.go
in internal/beater/request
257 15
main.go
in systemtest/benchtest
233 6
kibana.go
in systemtest
231 9
main.tf
in testing/infra/terraform/modules/rally_workers
229 -
main.go
in x-pack/apm-server
224 10
keystore_nofips.go
in internal/beatcmd
218 10
deployment.tf
in testing/infra/terraform/modules/ec_deployment
216 -
metrics.go
in systemtest/benchtest/expvar
214 10
stack_version.go
in functionaltests/internal/ecclient
209 20
client.go
in functionaltests/internal/ecclient
208 9
reloader.go
in internal/beatcmd
204 7
client.go
in x-pack/apm-server/sampling/pubsub/pubsubtest
202 10
handler.go
in internal/beater/api/config/agent
190 7
client.go
in functionaltests/internal/kbclient
189 8
steps.go
in functionaltests
189 10
client.go
in functionaltests/internal/esclient
183 9
catbulk.go
in systemtest/gencorpora
180 6
profiles.go
in systemtest/benchtest
179 11
groups.go
in x-pack/apm-server/sampling
175 8
variables.tf
in testing/benchmark
174 -
handler.go
in internal/beater/api/intake
168 7
http.go
in internal/beater/otlp
163 7
expvar.go
in systemtest/benchtest/expvar
163 8
command.go
in systemtest/apmservertest
163 12
server.go
in internal/beater
155 4
server.go
in internal/beater/beatertest
154 8
logs.go
in systemtest/apmservertest
154 12
main.go
in systemtest/cmd/apmbench
151 17
apikey.go
in internal/beater/auth
145 10
upgrade_assist.go
in functionaltests/internal/kbclient
145 8
main.go
in systemtest/cmd/runapm
143 5
main.tf
in testing/benchmark
138 -
clients.go
in systemtest/benchtest
132 5
Files With Most Units (Top 50)
File# lines# units
storage_manager.go
in x-pack/apm-server/sampling/eventstorage
320 24
utils.go
in functionaltests
303 24
client.go
in systemtest/fleettest
332 21
beat.go
in internal/beatcmd
723 20
stack_version.go
in functionaltests/internal/ecclient
209 20
server.go
in systemtest/apmservertest
499 19
main.go
in systemtest/cmd/apmbench
151 17
beater.go
in internal/beater
821 16
mux.go
in internal/beater/api
291 16
rw.go
in x-pack/apm-server/sampling/eventstorage
99 16
context.go
in internal/beater/request
257 15
metric_exporter.go
in internal/telemetry
270 14
metadata_fetcher.go
in internal/sourcemap
298 14
config.go
in systemtest/apmservertest
305 14
containers.go
in systemtest
360 13
main.go
in cmd/intake-receiver
266 12
reservoir.go
in x-pack/apm-server/sampling
94 12
logs.go
in systemtest/apmservertest
154 12
command.go
in systemtest/apmservertest
163 12
main.go
in systemtest/cmd/sendotlp
319 11
profiles.go
in systemtest/benchtest
179 11
keystore_nofips.go
in internal/beatcmd
218 10
apikey.go
in internal/beater/auth
145 10
main.go
in x-pack/apm-server
224 10
processor.go
in x-pack/apm-server/sampling
384 10
client.go
in x-pack/apm-server/sampling/pubsub/pubsubtest
202 10
steps.go
in functionaltests
189 10
metrics.go
in systemtest/benchtest/expvar
214 10
acker.go
in internal/publish
56 9
client.go
in functionaltests/internal/ecclient
208 9
client.go
in functionaltests/internal/esclient
183 9
kibana.go
in systemtest
231 9
server.go
in internal/beater/beatertest
154 8
supporter_factory.go
in internal/idxmgmt
60 8
groups.go
in x-pack/apm-server/sampling
175 8
pubsub.go
in x-pack/apm-server/sampling/pubsub
291 8
client.go
in functionaltests/internal/kbclient
189 8
upgrade_assist.go
in functionaltests/internal/kbclient
145 8
steps_v7.go
in functionaltests
131 8
intake.go
in systemtest
70 8
elasticsearch.go
in systemtest
125 8
expvar.go
in systemtest/benchtest/expvar
163 8
reloader.go
in internal/beatcmd
204 7
metric_exporter_config.go
in internal/telemetry
76 7
processors.go
in internal/beater
101 7
http.go
in internal/beater/otlp
163 7
auth.go
in internal/beater/config
89 7
result.go
in internal/beater/request
119 7
http.go
in internal/beater
127 7
handler.go
in internal/beater/api/config/agent
190 7
Files With Long Lines (Top 50)

There are 67 files with lines longer than 120 characters. In total, there are 158 long lines.

File# lines# units# long lines
main.tf
in testing/infra/terraform/modules/standalone_apm_server
275 - 30
mux.go
in internal/beater/api
291 16 14
variables.tf
in testing/infra/terraform/modules/ec_deployment
122 - 5
metadata_fetcher.go
in internal/sourcemap
298 14 4
apikey.go
in internal/beater/auth
145 10 4
pubsub.go
in x-pack/apm-server/sampling/pubsub
291 8 4
steps_v7.go
in functionaltests
131 8 4
config.go
in systemtest/benchtest
61 1 4
beater.go
in internal/beater
821 16 3
authenticator.go
in internal/beater/auth
102 2 3
main.go
in x-pack/apm-server
224 10 3
client.go
in functionaltests/internal/esclient
183 9 3
utils.go
in functionaltests
303 24 3
kibana.go
in systemtest
231 9 3
search.go
in systemtest/estest
112 5 3
variables.tf
in testing/cloud
61 - 3
outputs.tf
in testing/infra/terraform/modules/ec_deployment
46 - 3
main.tf
in testing/benchmark
138 - 3
11 - 2
kibana.go
in internal/agentcfg
66 3 2
sourcemap_fetcher.go
in internal/sourcemap
62 3 2
rum.go
in internal/beater/config
93 4 2
storage_manager.go
in x-pack/apm-server/sampling/eventstorage
320 24 2
steps.go
in functionaltests
189 10 2
main.go
in systemtest/cmd/sendotlp
319 11 2
soaktest.go
in systemtest/soaktest
60 2 2
main.go
in systemtest/benchtest
233 6 2
main.tf
in testing/infra/terraform/modules/rally_workers
229 - 2
reporter.go
in internal/agentcfg
78 3 1
beat.go
in internal/beatcmd
723 20 1
reloader.go
in internal/beatcmd
204 7 1
locker.go
in internal/beatcmd
40 3 1
logging.go
in internal/beatcmd
44 2 1
cmd.go
in internal/beatcmd
66 4 1
security_api.go
in internal/elasticsearch
54 2 1
client.go
in internal/elasticsearch
100 4 1
kibana.go
in internal/sourcemap
64 3 1
processor.go
in internal/sourcemap
111 5 1
elasticsearch.go
in internal/sourcemap
100 4 1
tracing.go
in internal/beater
47 1 1
grpc.go
in internal/beater/otlp
102 4 1
http.go
in internal/beater/otlp
163 7 1
server.go
in internal/beater
155 4 1
metrics.go
in internal/beater/interceptors
97 5 1
agentconfig.go
in internal/beater/config
82 4 1
http.go
in internal/beater
127 7 1
monitoring_middleware.go
in internal/beater/middleware
67 5 1
handler.go
in internal/beater/api/root
41 1 1
handler.go
in internal/beater/api/config/agent
190 7 1
handler.go
in internal/beater/api/intake
168 7 1