Skip to content

Commit

Permalink
opentelemetry: add semconv exception fields (tokio-rs#2135)
Browse files Browse the repository at this point in the history
When an error value is recorded, it should add the `exception.message` and
`exception.stacktrace` fields from the opentelemetry semantic conventions to the
span/event. Ideally the `exception.type` field would be provided also, but there
is currently not a mechanism to determine the type name of a trait object.
  • Loading branch information
lilymara-onesignal authored and kaffarell committed May 22, 2024
1 parent 8094fe6 commit 195c9af
Showing 1 changed file with 302 additions and 62 deletions.
Loading

0 comments on commit 195c9af

Please sign in to comment.