Skip to content

Commit

Permalink
opentelemetry: add semconv exception fields (#2310)
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.

Co-authored-by: Lily Mara <54288692+lilymara-onesignal@users.noreply.github.com>

Co-authored-by: Lily Mara <54288692+lilymara-onesignal@users.noreply.github.com>
  • Loading branch information
jtescher and lilymara-onesignal committed Sep 16, 2022
1 parent 982526f commit 5c35eb0
Showing 1 changed file with 374 additions and 29 deletions.
Loading

0 comments on commit 5c35eb0

Please sign in to comment.