Skip to content

Commit

Permalink
Update docs for otel span errors and exceptions
Browse files Browse the repository at this point in the history
Hello, Justin Schrader from the DT team here. We've released a new feature allowing uses to see OTEL span events & errors.
  • Loading branch information
icd2k3 committed Aug 23, 2021
1 parent f766bcf commit 5d61d16
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,21 @@ Here are some additional distributed tracing UI details, rules, and limits:
The response code for these spans is captured as an attribute `httpResponseCode` and attached to that span.
</td>
</tr>
<tr>
<td>
OpenTelemetry Errors
</td>

<td>
* `otel.status = error` will display the span as having an error.
* `otel.status_code` will display the status code in the error details box.
* `otel.status_description` will display the error description in the error details box.

Note: OpenTelemetry _exceptions_ are displayed independently of span _error_ status.

OpenTelemetry Span event exceptions are accessible via Span details by clicking the "view span events" link, but are not necessarily associated with a Span error status.
</td>
</tr>
</tbody>
</table>
</Collapser>
Expand Down

0 comments on commit 5d61d16

Please sign in to comment.