You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/exceptions/exceptions-spans.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ This event describes a single exception.
37
37
|---|---|---|---|---|---|
38
38
|[`exception.message`](/docs/registry/attributes/exception.md)||`Conditionally Required`[1]| string | The exception message. |`Division by zero`; `Can't convert 'int' object to str implicitly`|
39
39
|[`exception.type`](/docs/registry/attributes/exception.md)||`Conditionally Required`[2]| string | 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. |`java.net.ConnectException`; `OSError`|
40
-
|[`exception.escaped`](/docs/registry/attributes/exception.md)|<br>It's no longer recommended to record exceptions that are handled and do not escape the scope of a span. |`Opt-In`| boolean | Indicates that the exception is escaping the scope of the span. ||
40
+
|[`exception.escaped`](/docs/registry/attributes/exception.md)|<br>It's no longer recommended to record exceptions that are handled and do not escape the scope of a span. |`Recommended`| boolean | Indicates that the exception is escaping the scope of the span. ||
41
41
|[`exception.stacktrace`](/docs/registry/attributes/exception.md)||`Recommended`| string | 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. |`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)`|
42
42
|[`code.column.number`](/docs/registry/attributes/code.md)||`Opt-In`| int | The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Line'. This constraint is imposed to prevent redundancy and maintain data integrity. |`16`|
43
43
|[`code.file.path`](/docs/registry/attributes/code.md)||`Opt-In`| string | The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity. |`/usr/local/MyApplication/content_root/app/index.php`|
0 commit comments