You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(node): Allow to configure skipOpenTelemetrySetup (#10907)
Also warn if there is an incomplete setup, to ensure users notice if
stuff is breaking.
I do this by just keeping a set of things that were created, which is
not perfect but IMHO good enough to notify users if they forgot to setup
a specific thing...
`You have to set up the ${k}. Without this, the OpenTelemetry & Sentry integration will not work properly.`,
141
+
);
142
+
}
143
+
}
144
+
145
+
if(!setup.includes('SentrySampler')){
146
+
logger.warn(
147
+
'You have to set up the SentrySampler. Without this, the OpenTelemetry & Sentry integration may still work, but sample rates set for the Sentry SDK will not be respected.',
0 commit comments