profiling-node icon indicating copy to clipboard operation
profiling-node copied to clipboard

Version 1.2.6 shows "Upgrade to version 1.2.0 of @sentry/profiling-node to enable memory usage collection" in UI

Open WillSmithTE opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have checked for existing issues https://github.com/getsentry/profiling-node/issues
  • [X] I have reviewed the documentation https://docs.sentry.io/
  • [X] I am using the latest SDK release https://github.com/getsentry/profiling-node/releases

How do you use Sentry?

Sentry Saas (sentry.io)

SDK Version

1.2.6

Link to Sentry event

https://ourlit-4.sentry.io/profiling/profile/marketplace/292b65b916b9426d9f92024f34cf425b/flamegraph

What environment is your node script running in?

Remix, Express, Node 20, ECS

How is your code deployed and bundled?

we build in a dockerfile from a github action with remix build then node ./server.js

Steps to Reproduce

This is how I init sentry

export function initMonitoring() {
	Sentry.init({
		dsn: sentryDsn,
		tracesSampleRate: 1,
		profilesSampleRate: 1,

		integrations: [
			new ProfilingIntegration(),
		],
		environment,
	})
}

Expected Result

Couldn't see it in the docs, but I guess I should see memory and cpu usage in the profiling UI

Actual Result

No memory or cpu usage

Upgrade to version 1.2.0 of @sentry/profiling-node to enable CPU usage collection

Upgrade to version 1.2.0 of @sentry/profiling-node to enable memory usage collection

Screenshot 2023-11-17 at 09 06 59

WillSmithTE avatar Nov 17 '23 17:11 WillSmithTE