OpenTelemetry Traces
Unanswered
Rampur Greyhound posted this in #help-forum
Rampur GreyhoundOP
The incoming traces from the middleware don't have any children; instead, they are reported separately. What am I doing wrong? Ideally, the traces should be structured well, linked to each other, and the parent ID should be configured correctly, right?
instrumentation.tsimport { PrismaInstrumentation } from "@prisma/instrumentation";
import { registerOTel } from "@vercel/otel";
export function register() {
registerOTel({
serviceName: "nextjs",
instrumentations: [new PrismaInstrumentation({ middleware: true })],
});
}1 Reply
Rampur GreyhoundOP
Anyone else who has experienced this?