Skip to content

Commit d11bd6d

Browse files
committed
Scope reduction
1 parent 5ebfe96 commit d11bd6d

File tree

24 files changed

+52
-52
lines changed

24 files changed

+52
-52
lines changed

docs/exceptions/exceptions-spans.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ This event describes a single exception.
4444
**[2] `exception.type`:** Required if `exception.message` is not set, recommended otherwise.
4545

4646
<details>
47-
<summary><b>Past Attributes:</b></summary>
47+
<summary><b>Deprecated Attributes:</b></summary>
4848

49-
| Key | Type | Summary | Example Values | Deprecation Explanation |
49+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
5050
|---|---|---|---|---|
5151
| [`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. |
5252

docs/registry/attributes/android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ The Android platform on which the Android application is running.
2727
| `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. | ![Development](https://img.shields.io/badge/-development-blue) |
2828

2929
<details>
30-
<summary><b>Past Attributes:</b></summary>
30+
<summary><b>Deprecated Attributes:</b></summary>
3131

32-
| Key | Type | Summary | Example Values | Deprecation Explanation |
32+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
3333
|---|---|---|---|---|
3434
| <a id="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. |
3535

docs/registry/attributes/azure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ This section defines attributes for Azure Cosmos DB.
6262
This section describes deprecated Azure attributes.
6363

6464
<details>
65-
<summary><b>Past Attributes:</b></summary>
65+
<summary><b>Deprecated Attributes:</b></summary>
6666

67-
| Key | Type | Summary | Example Values | Deprecation Explanation |
67+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
6868
|---|---|---|---|---|
6969
| <a id="az-namespace" href="#az-namespace">`az.namespace`</a> | string | Deprecated, use `azure.resource_provider.namespace` instead. | `Microsoft.Storage`; `Microsoft.KeyVault`; `Microsoft.ServiceBus` | Use `azure.resource_provider.namespace` instead. |
7070
| <a id="az-service-request-id" href="#az-service-request-id">`az.service_request_id`</a> | string | Deprecated, use `azure.service.request.id` instead. | `00000000-0000-0000-0000-000000000000` | Use `azure.service.request.id` instead. |

docs/registry/attributes/code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ Examples:
4141
These deprecated attributes provide context about source code
4242

4343
<details>
44-
<summary><b>Past Attributes:</b></summary>
44+
<summary><b>Deprecated Attributes:</b></summary>
4545

46-
| Key | Type | Summary | Example Values | Deprecation Explanation |
46+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
4747
|---|---|---|---|---|
4848
| <a id="code-column" href="#code-column">`code.column`</a> | int | Deprecated, use `code.column.number` | `16` | Use `code.column.number` instead. |
4949
| <a id="code-filepath" href="#code-filepath">`code.filepath`</a> | string | Deprecated, use `code.file.path` instead | `/usr/local/MyApplication/content_root/app/index.php` | Use `code.file.path` instead. |

docs/registry/attributes/container.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ The ID is assigned by the container runtime and can vary in different environmen
4949
Describes deprecated container attributes.
5050

5151
<details>
52-
<summary><b>Past Attributes:</b></summary>
52+
<summary><b>Deprecated Attributes:</b></summary>
5353

54-
| Key | Type | Summary | Example Values | Deprecation Explanation |
54+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
5555
|---|---|---|---|---|
5656
| <a id="container-cpu-state" href="#container-cpu-state">`container.cpu.state`</a> | string | Deprecated, use `cpu.mode` instead. | `user`; `kernel` | Use `cpu.mode` instead. |
5757
| <a id="container-labels" href="#container-labels">`container.labels.<key>`</a> | string | Deprecated, use `container.label` instead. | `nginx` | Use `container.label` instead. |

docs/registry/attributes/db.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ stored procedure name then that stored procedure name SHOULD be used.
173173
Describes deprecated database attributes.
174174

175175
<details>
176-
<summary><b>Past Attributes:</b></summary>
176+
<summary><b>Deprecated Attributes:</b></summary>
177177

178-
| Key | Type | Summary | Example Values | Deprecation Explanation |
178+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
179179
|---|---|---|---|---|
180180
| <a id="db-cassandra-consistency-level" href="#db-cassandra-consistency-level">`db.cassandra.consistency_level`</a> | string | Deprecated, use `cassandra.consistency.level` instead. | `all`; `each_quorum`; `quorum` | Use `cassandra.consistency.level` instead. |
181181
| <a id="db-cassandra-coordinator-dc" href="#db-cassandra-coordinator-dc">`db.cassandra.coordinator.dc`</a> | string | Deprecated, use `cassandra.coordinator.dc` instead. | `us-west-2` | Use `cassandra.coordinator.dc` instead. |
@@ -334,9 +334,9 @@ Describes deprecated database attributes.
334334
Describes deprecated db metrics attributes.
335335

336336
<details>
337-
<summary><b>Past Attributes:</b></summary>
337+
<summary><b>Deprecated Attributes:</b></summary>
338338

339-
| Key | Type | Summary | Example Values | Deprecation Explanation |
339+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
340340
|---|---|---|---|---|
341341
| <a id="db-client-connections-pool-name" href="#db-client-connections-pool-name">`db.client.connections.pool.name`</a> | string | Deprecated, use `db.client.connection.pool.name` instead. | `myDataSource` | Use `db.client.connection.pool.name` instead. |
342342
| <a id="db-client-connections-state" href="#db-client-connections-state">`db.client.connections.state`</a> | string | Deprecated, use `db.client.connection.state` instead. | `idle` | Use `db.client.connection.state` instead. |

docs/registry/attributes/deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ considered to be identifying the same service:
4141
Describes deprecated deployment attributes.
4242

4343
<details>
44-
<summary><b>Past Attributes:</b></summary>
44+
<summary><b>Deprecated Attributes:</b></summary>
4545

46-
| Key | Type | Summary | Example Values | Deprecation Explanation |
46+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
4747
|---|---|---|---|---|
4848
| <a id="deployment-environment" href="#deployment-environment">`deployment.environment`</a> | string | Deprecated, use `deployment.environment.name` instead. | `staging`; `production` | Use `deployment.environment.name` instead. |
4949

docs/registry/attributes/enduser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Describes the end user.
3232
Describes deprecated enduser attributes.
3333

3434
<details>
35-
<summary><b>Past Attributes:</b></summary>
35+
<summary><b>Deprecated Attributes:</b></summary>
3636

37-
| Key | Type | Summary | Example Values | Deprecation Explanation |
37+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
3838
|---|---|---|---|---|
3939
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | string | Deprecated, use `user.roles` instead. | `admin` | Use `user.roles` instead. |
4040
| <a id="enduser-scope" href="#enduser-scope">`enduser.scope`</a> | string | Deprecated, no replacement at this time. | `read:message, write:files` | Removed, no replacement at this time. |

docs/registry/attributes/event.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
Attributes for Events represented using Log Records.
99

1010
<details>
11-
<summary><b>Past Attributes:</b></summary>
11+
<summary><b>Deprecated Attributes:</b></summary>
1212

13-
| Key | Type | Summary | Example Values | Deprecation Explanation |
13+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
1414
|---|---|---|---|---|
1515
| <a id="event-name" href="#event-name">`event.name`</a> | string | Identifies the class / type of event. | `browser.mouse.click`; `device.app.lifecycle` | The value of this attribute MUST now be set as the value of the EventName field on the LogRecord to indicate that the LogRecord represents an Event. |
1616

docs/registry/attributes/exception.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ This document defines the shared attributes used to report a single exception as
2323
Deprecated exception attributes.
2424

2525
<details>
26-
<summary><b>Past Attributes:</b></summary>
26+
<summary><b>Deprecated Attributes:</b></summary>
2727

28-
| Key | Type | Summary | Example Values | Deprecation Explanation |
28+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
2929
|---|---|---|---|---|
3030
| <a id="exception-escaped" href="#exception-escaped">`exception.escaped`</a> | 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. |
3131

0 commit comments

Comments
 (0)