Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit c0fedf7

Browse files
committed
remove erroneous attribute
1 parent c29c8bd commit c0fedf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apm/apm-spans-traces/apm-errors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ However, depending on your application's logic, a ``4xx`` status code might repr
204204

205205
For example, if Kai wants to alert on the rate of ``401`` errors returned by a given service, they do the following:
206206

207-
1. Index ``http.status_code`` in libraries that support OpenTelemetry semantic conventions version 1.16.0 or lower. Or index ``http.response.status_code`` in libraries that support OpenTelemetry semantic conventions version 1.17.0 or higher. See :ref:`apm-index-span-tags`. `net.peer.name``
207+
1. Index ``http.status_code`` in libraries that support OpenTelemetry semantic conventions version 1.16.0 or lower. Or index ``http.response.status_code`` in libraries that support OpenTelemetry semantic conventions version 1.17.0 or higher. See :ref:`apm-index-span-tags`.
208208
2. Create a custom Monitoring MetricSet on the status code tag for the service's endpoints to get a time series for each status code. See :ref:`cmms`.
209209
3. Set up an alert on the rate of ``401`` errors as compared to all requests. See :ref:`apm-alerts`.
210210

0 commit comments

Comments
 (0)