getsentry / getsentry/sentry-javascript

Add support for Next.js cache instrumentation

Open
#12,888 8 comments 2 reactions 1 assignee Claimed by @timfish View on GitHub
Improvement Next.js Spans
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Problem Statement

We support manually instrumenting caching, but this is a pain to figure out: [https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/instrumentation/custom-instrumentation/caches-module/]()

### Solution Brainstorm

We should either
a) auto-instrument the Next.js cache via [https://nextjs.org/docs/app/api-reference/next-config-js/incrementalCacheHandlerPath]()
b) update the cache module docs if auto-instrumentation is not possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.