Skip to content

SemConv

const SemConv: object

Defined in: src/observability/tracing.ts:73

OTel semantic convention attribute keys (HTTP subset).

Uses the stable HTTP semconv names from the OpenTelemetry specification.

readonly HTTP_METHOD: "http.request.method" = "http.request.method"

readonly HTTP_ROUTE: "http.route" = "http.route"

readonly HTTP_STATUS_CODE: "http.response.status_code" = "http.response.status_code"

readonly SERVER_ADDRESS: "server.address" = "server.address"

readonly URL_PATH: "url.path" = "url.path"

https://opentelemetry.io/docs/specs/semconv/http/