TraceAttributes::EXCEPTION_STACKTRACE
A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
@example Exception in thread "main" java.lang.RuntimeException: Test exception\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at com.example.GenerateTrace.main(GenerateTrace.java:5)
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 1400
Class
Namespace
OpenTelemetry\SemConvCode
public const EXCEPTION_STACKTRACE = 'exception.stacktrace';