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
{{ message }}
Repository navigation
Commit 4be2e67
Browse filesBrowse the repository at this point in the historyBrowse files
- Values below 1000ms are normalized to 1000ms with a `console.warn`
- Non-finite values (e.g. `NaN`) are also caught and fall back to 1000ms
- Shared `_INTERNAL_normalizeCollectionInterval` helper extracted to
`@sentry/node-core` and re-exported through `@sentry/node` for use in
`@sentry/bun`
- Each runtime retains ownership of its own `DEFAULT_INTERVAL_MS`
- Also adapted deno logging to be in sync with the other runtimes
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
`[Sentry] denoRuntimeMetricsIntegration: collectionIntervalMs (${rawInterval}) is below the minimum of ${MIN_INTERVAL_MS}ms. Clamping to ${MIN_INTERVAL_MS}ms.`,
56
+
`[Sentry] denoRuntimeMetricsIntegration: collectionIntervalMs (${rawInterval}) is invalid. Using default of ${DEFAULT_INTERVAL_MS}ms.`,
56
57
);
58
+
collectionIntervalMs=DEFAULT_INTERVAL_MS;
59
+
}elseif(rawInterval<MIN_INTERVAL_MS){
60
+
// eslint-disable-next-line no-console
61
+
console.warn(
62
+
`[Sentry] denoRuntimeMetricsIntegration: collectionIntervalMs (${rawInterval}) is below the minimum of ${MIN_INTERVAL_MS}ms. Using minimum of ${MIN_INTERVAL_MS}ms.`,
0 commit comments