@sentry/nextjs
Version:
Official Sentry SDK for Next.js
12 lines (11 loc) • 487 B
TypeScript
import { Span } from '@sentry/core';
/**
* Checks if the request is a Vercel cron request and starts a check-in if it matches a configured cron.
*/
export declare function maybeStartCronCheckIn(span: Span, route: string | undefined): void;
/**
* Completes a Vercel cron check-in when a span ends.
* Should be called from the spanEnd event handler.
*/
export declare function maybeCompleteCronCheckIn(span: Span): void;
//# sourceMappingURL=vercelCronsMonitoring.d.ts.map