#Sentry auto http requests

4 messages · Page 1 of 1 (latest)

cloud socket
#

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:

  1. What are the purpose of these calls? Is sentry doing requests on the go and not in the background?
  2. 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);
solid agate
#

Hi, do you think the SDK is making these requests? Which SDK + version are you using?

#

The SDK shouldn't make so many requests. Unless for example some error is thrown repeatedly (loop?)