SPAN-ATTRIBUTES
OTel spans key-value metadata.
Definition
OTel Semantic Conventions standardises attribute names: http.method, http.status_code, http.url, db.system, db.statement, messaging.system, exception.type, exception.message. Resource attributes (service.name, service.version, deployment.environment) attached at process level. v1.27 Stable (2024).
Origin
OTel Semantic Conventions v1.0 stable May 2023 ; v1.27 December 2024.
Example in context
An HTTP server Span carries http.method=POST, http.url=/api/orders, http.status_code=200, http.target=/api/orders.
Related terms
- OTel Traces — attribute consumer.