opentelemetry_semantic_conventions::attribute

Constant EXCEPTION_STACKTRACE

source
pub const EXCEPTION_STACKTRACE: &str = "exception.stacktrace";
Expand description

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.

ยงExamples

  • "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)"