I’m working with two different projects: one using self-hosted Sentry and the other using Sentry’s cloud service.
I’ve noticed that a large number of HTTP calls are being made, which seems to be affecting request latency. Can someone help me understand:
- What are the purpose of these calls? Is sentry doing requests on the go and not in the background?
- Is there a way to batch them to reduce the number of calls and improve performance?"
I am using nestjs and here is my configuration
const sentryConfig: Parameters<(typeof Sentry)['init']>[0] = {
dsn: process.env['SENTRY_DSN'],
environment: process.env['SENTRY_ENVIRONMENT'],
integrations: [
// Add our Profiling integration
nodeProfilingIntegration(),
Sentry.prismaIntegration(),
],
release: version,
tracesSampleRate: 0.01,
profilesSampleRate: 0.05,
};
Sentry.init(sentryConfig);