Interface: HttpAttributes
@arolariu/website / instrumentation.server / HttpAttributes
Interface: HttpAttributes
Defined in: instrumentation.server.ts:140
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:144
HTTP request method
http.status_code
http.status_code:
number
Defined in: instrumentation.server.ts:149
HTTP response status code
http.route?
optionalhttp.route?:string
Defined in: instrumentation.server.ts:154
HTTP route pattern (e.g., "/api/users/:id")
http.url?
optionalhttp.url?:string
Defined in: instrumentation.server.ts:159
Full HTTP request URL
http.target?
optionalhttp.target?:string
Defined in: instrumentation.server.ts:164
HTTP request target (path + query string)
server.address?
optionalserver.address?:string
Defined in: instrumentation.server.ts:169
Server address (host)
client.address?
optionalclient.address?:string
Defined in: instrumentation.server.ts:174
Client IP address
http.user_agent?
optionalhttp.user_agent?:string
Defined in: instrumentation.server.ts:179
User agent string