-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add stable exception attributes
resolves #23
- Loading branch information
1 parent
453a9c5
commit 1c7950d
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |