UNPKG

@sentry/nextjs

Version:
16 lines • 626 B
/** Installs the `use cache` handler instrumentation once per process. * * Only exported for testing. * * @internal */ export declare function _instrumentUseCacheHandlers(): void; /** * Wraps Next.js' `use cache` handlers with `cache.get`/`cache.put` spans, so cached function * reads and fills show up in traces with hit/miss information. * A hit also adds a `cache_origin` span link to the `cache.put` span of the trace that filled the entry. */ export declare const nextjsUseCacheIntegration: () => import("@sentry/core").Integration & { name: string; }; //# sourceMappingURL=useCacheInstrumentation.d.ts.map