Interface: HttpAttributes
@arolariu/website / instrumentation.server / HttpAttributes
Interface: HttpAttributes
Defined in: instrumentation.server.ts:142
Standard semantic attribute keys for HTTP operations.
See
https://opentelemetry.io/docs/specs/semconv/http/
Properties
http.method
http.method:
HttpMethod
Defined in: instrumentation.server.ts:146
HTTP request method
http.status_code
http.status_code:
number
Defined in: instrumentation.server.ts:151
HTTP response status code
http.route?
optionalhttp.route?:string
Defined in: instrumentation.server.ts:156
HTTP route pattern (e.g., "/api/users/:id")
http.url?
optionalhttp.url?:string
Defined in: instrumentation.server.ts:161
Full HTTP request URL
http.target?
optionalhttp.target?:string
Defined in: instrumentation.server.ts:166
HTTP request target (path + query string)
server.address?
optionalserver.address?:string
Defined in: instrumentation.server.ts:171
Server address (host)
client.address?
optionalclient.address?:string
Defined in: instrumentation.server.ts:176
Client IP address
http.user_agent?
optionalhttp.user_agent?:string
Defined in: instrumentation.server.ts:181
User agent string