Replies: 1 comment
-
Mostly agree with everything here. My recommendation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Non-Goals
Background
We are trying to adopt OpenTelemetry, however, there is a lot of potential to improve the data that is produced by Next.js telemetry. Currently, Next.js generates a lot of noise, and in some situations even wrong data.
What is the status quo?
GET /api/content
.GET /api/content/route
to requests toGET /api/content
orGET /api/content/error
when there was an error during the request.res.end()
is called.Proposal
I propose the following. Of course, this is up for discussion 😄:
/route
or/error
.res.end()
was called.fetch
API is instrumented whilehttp.request()
orhttp.get()
aren't.Beta Was this translation helpful? Give feedback.
All reactions