Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs instrumentation v0.41.1 exceeds default volume limit of 150Mi #2237

Closed
fredrikgh opened this issue Oct 17, 2023 · 0 comments · Fixed by #2241
Closed

nodejs instrumentation v0.41.1 exceeds default volume limit of 150Mi #2237

fredrikgh opened this issue Oct 17, 2023 · 0 comments · Fixed by #2241
Labels
area:auto-instrumentation Issues for auto-instrumentation auto-instrumentation:nodejs bug Something isn't working

Comments

@fredrikgh
Copy link

fredrikgh commented Oct 17, 2023

Component(s)

instrumentation

What happened?

Description

With the recent NodeJS instrumentation image v0.41.1, the k8s volume created exceeds the default limit of 150Mi causing pods to be evicted.

Steps to Reproduce

Run the NodeJS instrumentation and verify the size of the mounted EmptyDir volume on the application pod.

v0.40.0: 120.6Mi
v0.41.1: 150.4Mi

Since the default volumeLimitSize is set to 150Mi, the pod is evicted.

Kubernetes Version

v1.25.11

Operator version

v0.85.0

Collector version

v0.85.0

Environment information

Alpine Linux 3.18.4

Log output

v0.40.0:

3.0M	@grpc
720.0K	@hapi
32.6M	@opentelemetry
392.0K	@protobufjs
164.0K	@sideway
5.3M	@types
76.0K	agent-base
24.0K	ansi-color
24.0K	ansi-regex
36.0K	ansi-styles
20.0K	balanced-match
368.0K	bignumber.js
24.0K	brace-expansion
320.0K	bufrw
68.0K	cliui
48.0K	color-convert
24.0K	color-name
36.0K	concat-map
724.0K	copyfiles
24.0K	core-util-is
68.0K	debug
72.0K	emoji-regex
60.0K	error
52.0K	escalade
28.0K	extend
32.0K	fs.realpath
40.0K	function-bind
120.0K	gaxios
100.0K	gcp-metadata
136.0K	generic-pool
28.0K	get-caller-file
68.0K	glob
32.0K	has
84.0K	hexer
64.0K	https-proxy-agent
216.0K	import-in-the-middle
20.0K	inflight
24.0K	inherits
52.0K	is-core-module
24.0K	is-fullwidth-code-point
24.0K	is-stream
28.0K	isarray
1.0M	jaeger-client
612.0K	joi
64.0K	json-bigint
36.0K	lodash.camelcase
68.0K	lodash.merge
200.0K	long
28.0K	lru-cache
48.0K	minimatch
120.0K	minimist
68.0K	mkdirp
24.0K	module-details-from-path
20.0K	ms
188.0K	node-fetch
28.0K	node-int64
20.0K	noms
20.0K	once
572.0K	opentracing
20.0K	path-is-absolute
20.0K	path-parse
20.0K	pg-int8
312.0K	pg-protocol
76.0K	pg-types
24.0K	postgres-array
20.0K	postgres-bytea
20.0K	postgres-date
24.0K	postgres-interval
24.0K	process
20.0K	process-nextick-args
3.0M	protobufjs
96.0K	readable-stream
24.0K	require-directory
36.0K	require-in-the-middle
632.0K	resolve
36.0K	rimraf
48.0K	safe-buffer
280.0K	semver
48.0K	shimmer
24.0K	string-template
24.0K	string-width
24.0K	string_decoder
24.0K	strip-ansi
36.0K	supports-preserve-symlinks-flag
1.4M	thriftrw
256.0K	through2
276.0K	tr46
64.1M	typescript
24.0K	untildify
28.0K	util-deprecate
336.0K	uuid
32.0K	webidl-conversions
80.0K	whatwg-url
24.0K	wrap-ansi
20.0K	wrappy
52.0K	xorshift
28.0K	xtend
60.0K	y18n
36.0K	yallist
476.0K	yargs
164.0K	yargs-parser

v0.41.1:

3.0M  @grpc	
720.0K  @hapi	
61.8M  @opentelemetry	
392.0K  @protobufjs	
164.0K  @sideway	
5.4M  @types	
516.0K  acorn	
48.0K  acorn-import-assertions	
76.0K  agent-base	
24.0K  ansi-color	
24.0K  ansi-regex	
36.0K  ansi-styles	
20.0K  balanced-match	
368.0K  bignumber.js	
24.0K  brace-expansion	
320.0K  bufrw	
164.0K  cjs-module-lexer	
68.0K  cliui	
48.0K  color-convert	
24.0K  color-name	
36.0K  concat-map	
724.0K  copyfiles	
24.0K  core-util-is	
68.0K  debug	
72.0K  emoji-regex	
60.0K  error	
52.0K  escalade	
28.0K  extend	
32.0K  fs.realpath	
128.0K  gaxios	
104.0K  gcp-metadata	
28.0K  get-caller-file	
68.0K  glob	
32.0K  has	
84.0K  hexer	
64.0K  https-proxy-agent	
236.0K  import-in-the-middle	
20.0K  inflight	
24.0K  inherits	
52.0K  is-core-module	
24.0K  is-fullwidth-code-point	
24.0K  is-stream	
28.0K  isarray	
1.0M  jaeger-client	
612.0K  joi	
64.0K  json-bigint	
36.0K  lodash.camelcase	
68.0K  lodash.merge	
144.0K  long	
28.0K  lru-cache	
48.0K  minimatch	
120.0K  minimist	
68.0K  mkdirp	
24.0K  module-details-from-path	
20.0K  ms	
188.0K  node-fetch	
28.0K  node-int64	
20.0K  noms	
20.0K  once	
572.0K  opentracing	
20.0K  path-is-absolute	
20.0K  path-parse	
20.0K  pg-int8	
312.0K  pg-protocol	
76.0K  pg-types	
24.0K  postgres-array	
20.0K  postgres-bytea	
20.0K  postgres-date	
24.0K  postgres-interval	
24.0K  process	
20.0K  process-nextick-args	
2.9M  protobufjs	
96.0K  readable-stream	
24.0K  require-directory	
36.0K  require-in-the-middle	
624.0K  resolve	
36.0K  rimraf	
48.0K  safe-buffer	
280.0K  semver	
48.0K  shimmer	
24.0K  string-template	
24.0K  string-width	
24.0K  string_decoder	
24.0K  strip-ansi	
36.0K  supports-preserve-symlinks-flag	
1.4M  thriftrw	
256.0K  through2	
276.0K  tr46	
128.0K  tslib	
64.1M  typescript	
172.0K  undici-types	
24.0K  untildify	
28.0K  util-deprecate	
336.0K  uuid	
32.0K  webidl-conversions	
80.0K  whatwg-url	
24.0K  wrap-ansi	
20.0K  wrappy	
52.0K  xorshift	
28.0K  xtend	
60.0K  y18n	
36.0K  yallist	
476.0K  yargs	
164.0K  yargs-parser

Additional context

Looks like the opentelemetry module in node_modules is the culprit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:auto-instrumentation Issues for auto-instrumentation auto-instrumentation:nodejs bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants