Skip to content

Commit 4ddc1d1

Browse files
author
Liudmila Molkova
committed
nit
1 parent e11d8f2 commit 4ddc1d1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/general/recording-errors.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ An operation SHOULD be considered as failed if any of the following is true:
2121
Semantic conventions that define domain-specific status codes SHOULD specify
2222
which status codes should be reported as errors by a general-purpose instrumentation.
2323

24-
> [!NOTE]
25-
>
26-
> The classification of a status code as an error depends on the context.
27-
> For example, an HTTP 404 "Not Found" status code indicates an error if the application
28-
> expected the resource to be available. However, it is not an error when the
29-
> application is simply checking whether the resource exists.
30-
>
31-
> Instrumentations that have additional context about a specific request MAY use
32-
> this context to set the span status more precisely.
24+
> [!NOTE]
25+
>
26+
> The classification of a status code as an error depends on the context.
27+
> For example, an HTTP 404 "Not Found" status code indicates an error if the application
28+
> expected the resource to be available. However, it is not an error when the
29+
> application is simply checking whether the resource exists.
30+
>
31+
> Instrumentations that have additional context about a specific request MAY use
32+
> this context to set the span status more precisely.
3333
3434
Errors that were retried or handled (allowing an operation to complete gracefully) SHOULD NOT
3535
be recorded on spans or metrics that describe this operation.

0 commit comments

Comments
 (0)