diff --git a/model/trace/exception/exception__escaped.json b/model/trace/exception/exception__escaped.json new file mode 100644 index 0000000..de79131 --- /dev/null +++ b/model/trace/exception/exception__escaped.json @@ -0,0 +1,10 @@ +{ + "key": "exception.escaped", + "brief": "SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span.", + "type": "boolean", + "pii": { + "key": "false" + }, + "is_in_otel": true, + "example": true +} diff --git a/model/trace/exception/exception__stacktrace.json b/model/trace/exception/exception__stacktrace.json new file mode 100644 index 0000000..7106643 --- /dev/null +++ b/model/trace/exception/exception__stacktrace.json @@ -0,0 +1,10 @@ +{ + "key": "exception.stacktrace", + "brief": "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.", + "type": "string", + "pii": { + "key": "false" + }, + "is_in_otel": true, + "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)" +} diff --git a/model/trace/exception/exception__type.json b/model/trace/exception/exception__type.json new file mode 100644 index 0000000..beb1bb8 --- /dev/null +++ b/model/trace/exception/exception__type.json @@ -0,0 +1,10 @@ +{ + "key": "exception.type", + "brief": "The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.", + "type": "string", + "pii": { + "key": "false" + }, + "is_in_otel": true, + "example": "OSError" +}