From a73ccb25430c0c3b8645eae0405672e4e1ce783b Mon Sep 17 00:00:00 2001 From: JPeer264 Date: Thu, 30 Oct 2025 13:43:02 +0100 Subject: [PATCH] docs(node): Add note to withMonitor that new traces are not created --- includes/javascript-crons-job-monitoring.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/javascript-crons-job-monitoring.mdx b/includes/javascript-crons-job-monitoring.mdx index 55e3426ccafa8..ed417310e7d44 100644 --- a/includes/javascript-crons-job-monitoring.mdx +++ b/includes/javascript-crons-job-monitoring.mdx @@ -8,4 +8,11 @@ Sentry.withMonitor("", () => { }); ``` + + +`Sentry.withMonitor()` does not create new a trace. Events and errors that occur within the monitored callback will be associated with the current trace context. + + + + If you are using an SDK version prior to `7.76.0`, you can use the `Sentry.captureCheckIn()` API documented below.