From 1c7142e2a89c871b54b24e95c58109fdd33556e2 Mon Sep 17 00:00:00 2001 From: James Moessis Date: Wed, 2 Feb 2022 10:53:55 +1100 Subject: [PATCH] 4xx client errors to be left unset --- specification/trace/semantic_conventions/http.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/trace/semantic_conventions/http.md b/specification/trace/semantic_conventions/http.md index 706564f680e..76453499fb4 100644 --- a/specification/trace/semantic_conventions/http.md +++ b/specification/trace/semantic_conventions/http.md @@ -45,8 +45,8 @@ default span name. the response body; or 3xx codes with max redirects exceeded), in which case status MUST be set to `Error`. -For HTTP status codes in the 4xx range span status MUST be left unset in case of `SpanKind.SERVER` -and MUST be set to `Error` in case of `SpanKind.CLIENT`. +For HTTP status codes in the 4xx range span status MUST be left unset regardless of +`SpanKind`. For HTTP status codes in the 5xx range, as well as any other code the client failed to interpret, span status MUST be set to `Error`.