Ref: getsentry/sentry-javascript#4071 (comment)
Used more or less like:
{
provide: APP_INTERCEPTOR,
useClass: TracingInterceptor,
},
{
// optional
provide: SENTRY_USER_PROVIDER,
useClass: AppSentryUserProvider
},
mongoose.plugin(mongooseProfilerPlugin);