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
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,13 +35,20 @@ This event describes a single exception.
35
35
|---|---|---|---|---|---|
36
36
|[`exception.message`](/docs/registry/attributes/exception.md)| string | The exception message. |`Division by zero`; `Can't convert 'int' object to str implicitly`|`Conditionally Required`[1]||
37
37
|[`exception.type`](/docs/registry/attributes/exception.md)| 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`|`Conditionally Required`[2]||
38
-
|[`exception.escaped`](/docs/registry/attributes/exception.md)| boolean | Indicates that the exception is escaping the scope of the span. ||`Recommended`|<br>It's no longer recommended to record exceptions that are handled and do not escape the scope of a span. |
39
38
|[`exception.stacktrace`](/docs/registry/attributes/exception.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. |`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)`|`Recommended`||
40
39
41
40
**[1]`exception.message`:** Required if `exception.type` is not set, recommended otherwise.
42
41
43
42
**[2]`exception.type`:** Required if `exception.message` is not set, recommended otherwise.
44
43
44
+
<details>
45
+
<summary><b>Past Attributes:</b></summary>
46
+
47
+
| Key | Type | Summary | Example Values | Deprecation Explanation |
48
+
|---|---|---|---|---|
49
+
|[`exception.escaped`](/docs/registry/attributes/exception.md)| boolean | Indicates that the exception is escaping the scope of the span. || It's no longer recommended to record exceptions that are handled and do not escape the scope of a span. |
| Key | Type | Summary | Example Values | Stability |
14
12
|---|---|---|---|---|
15
13
| <aid="android-app-state"href="#android-app-state">`android.app.state`</a> | string | This attribute represents the state of the application. [1]|`created`||
16
14
| <aid="android-os-api-level"href="#android-os-api-level">`android.os.api_level`</a> | string | Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found in the [Android API levels documentation](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). |`33`; `32`||
@@ -26,14 +24,14 @@ The Android platform on which the Android application is running.
26
24
|`background`| Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state. ||
27
25
|`created`| Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time. ||
28
26
|`foreground`| Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states. ||
27
+
<details>
28
+
<summary><b>Past Attributes:</b></summary>
29
29
30
-
## Deprecated Android Attributes
31
-
32
-
This document defines attributes that represents an occurrence of a lifecycle transition on the Android platform.
| Key | Type | Summary | Example Values | Deprecation Explanation |
35
31
|---|---|---|---|---|
36
-
| <aid="android-state"href="#android-state">`android.state`</a> | string | Deprecated. Use `android.app.state` attribute instead. |`created`; `background`; `foreground`|<br>Replaced by `android.app.state`. |
32
+
| <aid="android-state"href="#android-state">`android.state`</a> | string | This attribute represents the state of the application. [1]|`created`; `background`; `foreground`| Use `android.app.state` instead. |
33
+
34
+
**[1]`android.state`:** The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived.
37
35
38
36
---
39
37
@@ -44,3 +42,5 @@ This document defines attributes that represents an occurrence of a lifecycle tr
44
42
|`background`| Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state. ||
45
43
|`created`| Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time. ||
46
44
|`foreground`| Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states. ||
| Key | Type | Summary | Example Values | Stability |
11
12
|---|---|---|---|---|
12
13
| <aid="app-build-id"href="#app-build-id">`app.build_id`</a> | string | Unique identifier for a particular build or compilation of the application. |`6cff0a7e-cefc-4668-96f5-1273d8b334d0`; `9f2b833506aa6973a92fde9733e6271f`; `my-app-1.0.0-code-123`||
13
14
| <aid="app-installation-id"href="#app-installation-id">`app.installation.id`</a> | string | A unique identifier representing the installation of an application on a specific device [1]|`2ab2916d-a51f-4ac8-80ee-45ac31a28092`||
Copy file name to clipboardExpand all lines: docs/registry/attributes/artifact.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@
7
7
8
8
This group describes attributes specific to artifacts. Artifacts are files or other immutable objects that are intended for distribution. This definition aligns directly with the [SLSA](https://slsa.dev/spec/v1.0/terminology#package-model) package model.
| Key | Type | Summary | Example Values | Stability |
11
12
|---|---|---|---|---|
12
13
| <aid="artifact-attestation-filename"href="#artifact-attestation-filename">`artifact.attestation.filename`</a> | string | The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. |`golang-binary-amd64-v0.1.0.attestation`; `docker-image-amd64-v0.1.0.intoto.json1`; `release-1.tar.gz.attestation`; `file-name-package.tar.gz.intoto.json1`||
13
14
| <aid="artifact-attestation-hash"href="#artifact-attestation-hash">`artifact.attestation.hash`</a> | string | The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the [software attestation space](https://github.com/in-toto/attestation/tree/main/spec) also refer to this as the **digest**. |`1b31dfcd5b7f9267bf2ff47651df1cfb9147b9e4df1f335accf65b4cda498408`||
| Key | Type | Summary | Example Values | Stability |
11
12
|---|---|---|---|---|
12
13
| <aid="aspnetcore-authentication-result"href="#aspnetcore-authentication-result">`aspnetcore.authentication.result`</a> | string | The result of the authentication operation. |`success`; `failure`||
13
14
| <aid="aspnetcore-authentication-scheme"href="#aspnetcore-authentication-scheme">`aspnetcore.authentication.scheme`</a> | string | The identifier that names a particular authentication handler. |`Cookies`; `Bearer`; `Identity.Application`||
0 commit comments