Metrics work out of the box by calling Sentry.init, no further setup is required. Sentry.init({ dsn: '___PUBLIC_DSN___', // Only needed for SDK versions < 8.0.0 // _experiments: { // metricsAggregator: true, // }, });