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
| <aid="code-column-number"href="#code-column-number">`code.column.number`</a> | int | The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`16`||
16
-
| <aid="code-file-path"href="#code-file-path">`code.file.path`</a> | string | The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). |`/usr/local/MyApplication/content_root/app/index.php`||
17
-
| <aid="code-function-name"href="#code-function-name">`code.function.name`</a> | string | The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. [1]|`com.example.MyHttpService.serveRequest`; `GuzzleHttp\Client::transfer`; `fopen`||
18
-
| <aid="code-line-number"href="#code-line-number">`code.line.number`</a> | int | The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`42`||
19
-
| <aid="code-stacktrace"href="#code-stacktrace">`code.stacktrace`</a> | 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.|`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)`||
15
+
| <aid="code-column-number"href="#code-column-number">`code.column.number`</a> | int | The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`16`||
16
+
| <aid="code-file-path"href="#code-file-path">`code.file.path`</a> | string | The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). |`/usr/local/MyApplication/content_root/app/index.php`||
17
+
| <aid="code-function-name"href="#code-function-name">`code.function.name`</a> | string | The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. [1]|`com.example.MyHttpService.serveRequest`; `GuzzleHttp\Client::transfer`; `fopen`||
18
+
| <aid="code-line-number"href="#code-line-number">`code.line.number`</a> | int | The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`42`||
19
+
| <aid="code-stacktrace"href="#code-stacktrace">`code.stacktrace`</a> | string | A stacktrace as a string in the natural representation for the language runtime. The representation is identical to [`exception.stacktrace`](/docs/exceptions/exceptions-spans.md#stacktrace-representation).|`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)`||
20
20
21
21
**[1]`code.function.name`:** Values and format depends on each language runtime, thus it is impossible to provide an exhaustive list of examples.
22
22
The values are usually the same (or prefixes of) the ones found in native stack trace representation stored in
|[`code.column.number`](/docs/attributes-registry/code.md)| int | The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`16`|`Recommended`||
434
-
|[`code.filepath`](/docs/attributes-registry/code.md)| string | Deprecated, use `code.file.path` instead |`/usr/local/MyApplication/content_root/app/index.php`|`Recommended`|<br>Replaced by `code.file.path`|
435
-
|[`code.function.name`](/docs/attributes-registry/code.md)| string | The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. [1]|`com.example.MyHttpService.serveRequest`; `GuzzleHttp\Client::transfer`; `fopen`|`Recommended`||
436
-
|[`code.line.number`](/docs/attributes-registry/code.md)| int | The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`42`|`Recommended`||
437
-
|[`code.namespace`](/docs/attributes-registry/code.md)| string | Deprecated, namespace is now included into `code.function.name`|`com.example.MyHttpService`|`Recommended`|<br>Value should be included in `code.function.name` which is expected to be a fully-qualified name. |
438
-
|[`code.stacktrace`](/docs/attributes-registry/code.md)| 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. |`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)`|`Opt-In`||
435
+
|[`code.column.number`](/docs/attributes-registry/code.md)| int | The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`16`|`Recommended`||
436
+
|[`code.file.path`](/docs/attributes-registry/code.md)| string | The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). |`/usr/local/MyApplication/content_root/app/index.php`|`Recommended`||
437
+
|[`code.function.name`](/docs/attributes-registry/code.md)| string | The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. [1]|`com.example.MyHttpService.serveRequest`; `GuzzleHttp\Client::transfer`; `fopen`|`Recommended`||
438
+
|[`code.line.number`](/docs/attributes-registry/code.md)| int | The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. |`42`|`Recommended`||
439
+
|[`code.stacktrace`](/docs/attributes-registry/code.md)| string | A stacktrace as a string in the natural representation for the language runtime. The representation is identical to [`exception.stacktrace`](/docs/exceptions/exceptions-spans.md#stacktrace-representation). |`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)`|`Opt-In`||
439
440
440
441
**[1]`code.function.name`:** Values and format depends on each language runtime, thus it is impossible to provide an exhaustive list of examples.
441
442
The values are usually the same (or prefixes of) the ones found in native stack trace representation stored in
0 commit comments