Skip to main content

Interface: NextJsAttributes

@arolariu/website


@arolariu/website / instrumentation.server / NextJsAttributes

Interface: NextJsAttributes

Defined in: instrumentation.server.ts:185

Standard semantic attribute keys for Next.js rendering operations.

Properties

next.render_context

next.render_context: RenderContext

Defined in: instrumentation.server.ts:189

Rendering context (server, client, edge, api)


next.route?

optional next.route?: string

Defined in: instrumentation.server.ts:194

Next.js route pattern


next.page_type?

optional next.page_type?: "static" | "dynamic" | "isr"

Defined in: instrumentation.server.ts:199

Page type (static, dynamic, ISR)


next.server_components?

optional next.server_components?: boolean

Defined in: instrumentation.server.ts:204

Whether the page is using Server Components


next.cache_hit?

optional next.cache_hit?: boolean

Defined in: instrumentation.server.ts:209

Whether the request was cached


next.runtime?

optional next.runtime?: "edge" | "nodejs"

Defined in: instrumentation.server.ts:214

Runtime (nodejs, edge)

// was this page useful?