erlang/elixir: add stacktrace representation to table (#3313)

Adds the functions to use for stacktrace representation in Erlang/Elixir
to the semantic conventions table for exceptions.
This commit is contained in:
Tristan Sloughter 2023-03-24 12:05:38 -06:00 committed by GitHub
parent efa4181f83
commit 13e82eae88
1 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,8 @@ to adopt them if they see fit.
| Language | Format |
| ---------- | ------------------------------------------------------------------- |
| C# | the return value of [Exception.ToString()][csharp-stacktrace] |
| Elixir | the return value of [Exception.format/3][elixir-stacktrace] |
| Erlang | the return value of [`erl_error:format`][erlang-stacktrace] |
| Go | the return value of [runtime.Stack][go-stacktrace] |
| Java | the contents of [Throwable.printStackTrace()][java-stacktrace] |
| Javascript | the return value of [error.stack][js-stacktrace] as returned by V8 |
@ -101,3 +103,5 @@ grained information from a stacktrace, if necessary.
[csharp-stacktrace]: https://docs.microsoft.com/en-us/dotnet/api/system.exception.tostring
[go-stacktrace]: https://pkg.go.dev/runtime/debug#Stack
[telemetry-sdk-resource]: ../../resource/semantic_conventions/README.md#telemetry-sdk
[erlang-stacktrace]: https://www.erlang.org/doc/man/erl_error.html#format_exception-3
[elixir-stacktrace]: https://hexdocs.pm/elixir/1.14.3/Exception.html#format/3