diff --git a/docs/attributes-registry/container.md b/docs/attributes-registry/container.md index b8b37373c6..d3d41467db 100644 --- a/docs/attributes-registry/container.md +++ b/docs/attributes-registry/container.md @@ -3,6 +3,13 @@ # Container + + +- [Container Attributes](#container-attributes) +- [Deprecated Container Attributes](#deprecated-container-attributes) + + + ## Container Attributes @@ -37,3 +44,11 @@ The ID is assinged by the container runtime and can vary in different environmen | `system` | When CPU is used by the system (host OS) | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `kernel` | When tasks of the cgroup are in kernel mode (Linux). When all container processes are in kernel mode (Windows). | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + +## Deprecated Container Attributes + + +| Attribute | Type | Description | Examples | Stability | +|---|---|---|---|---| +| `container.labels.` | string | Deprecated, use `container.label` instead. | `container.label.app=nginx` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `container.label`. | + diff --git a/docs/attributes-registry/db.md b/docs/attributes-registry/db.md index e60c2d3741..7ed3b02f92 100644 --- a/docs/attributes-registry/db.md +++ b/docs/attributes-registry/db.md @@ -14,7 +14,6 @@ - [Redis Attributes](#redis-attributes) - [SQL Attributes](#sql-attributes) - [Deprecated DB Attributes](#deprecated-db-attributes) - - [Deprecated Elasticsearch Attributes](#deprecated-elasticsearch-attributes) @@ -213,18 +212,7 @@ ## Deprecated DB Attributes - -| Attribute | Type | Description | Examples | Stability | -|---|---|---|---|---| -| `db.connection_string` | string | Deprecated, use `server.address`, `server.port` attributes instead. | `Server=(localdb)\v11.0;Integrated Security=true;` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
"Replaced by `server.address` and `server.port`." | -| `db.elasticsearch.node.name` | string | Deprecated, use `db.instance.id` instead. | `instance-0000000001` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `db.instance.id`. | -| `db.jdbc.driver_classname` | string | Removed, no replacement at this time. | `org.postgresql.Driver`; `com.microsoft.sqlserver.jdbc.SQLServerDriver` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Removed as not used. | -| `db.operation` | string | Deprecated, use `db.operation.name` instead. | `findAndModify`; `HMSET`; `SELECT` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `db.operation.name`. | - - -### Deprecated Elasticsearch Attributes - - + | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| | `db.connection_string` | string | Deprecated, use `server.address`, `server.port` attributes instead. | `Server=(localdb)\v11.0;Integrated Security=true;` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
"Replaced by `server.address` and `server.port`." | diff --git a/docs/attributes-registry/http.md b/docs/attributes-registry/http.md index e25443590d..c3d92a7b33 100644 --- a/docs/attributes-registry/http.md +++ b/docs/attributes-registry/http.md @@ -3,6 +3,13 @@ # HTTP + + +- [HTTP Attributes](#http-attributes) +- [Deprecated HTTP Attributes](#deprecated-http-attributes) + + + ## HTTP Attributes @@ -74,7 +81,7 @@ SHOULD include the [application root](/docs/http/http-spans.md#http-server-defin ## Deprecated HTTP Attributes - + | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| | `http.flavor` | string | Deprecated, use `network.protocol.name` instead. | `1.0` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `network.protocol.name`. | diff --git a/docs/attributes-registry/k8s.md b/docs/attributes-registry/k8s.md index ea7c55d6fc..d60f610782 100644 --- a/docs/attributes-registry/k8s.md +++ b/docs/attributes-registry/k8s.md @@ -1,6 +1,13 @@ # Kubernetes -## Kubernetes Resource Attributes + + +- [Kubernetes Attributes](#kubernetes-attributes) +- [Deprecated Kubernetes Attributes](#deprecated-kubernetes-attributes) + + + +## Kubernetes Attributes | Attribute | Type | Description | Examples | Stability | @@ -52,3 +59,11 @@ Which states: Therefore, UIDs between clusters should be extremely unlikely to conflict. + +## Deprecated Kubernetes Attributes + + +| Attribute | Type | Description | Examples | Stability | +|---|---|---|---|---| +| `k8s.pod.labels.` | string | Deprecated, use `k8s.pod.label` instead. | `k8s.pod.label.app=my-app` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `k8s.pod.label`. | + \ No newline at end of file diff --git a/docs/attributes-registry/messaging.md b/docs/attributes-registry/messaging.md index 3e713cdd5a..ba7f61aec3 100644 --- a/docs/attributes-registry/messaging.md +++ b/docs/attributes-registry/messaging.md @@ -174,7 +174,7 @@ size should be used. ## Deprecated Messaging Attributes - + | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| | `messaging.kafka.destination.partition` | int | "Deprecated, use `messaging.destination.partition.id` instead." | `2` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `messaging.destination.partition.id`. | diff --git a/docs/attributes-registry/network.md b/docs/attributes-registry/network.md index 497a575c31..48dabc6512 100644 --- a/docs/attributes-registry/network.md +++ b/docs/attributes-registry/network.md @@ -5,6 +5,13 @@ These attributes may be used for any network related operation. + + +- [Network Attributes](#network-attributes) +- [Deprecated Network Attributes](#deprecated-network-attributes) + + + ## Network Attributes @@ -100,7 +107,7 @@ different processes could be listening on TCP port 12345 and UDP port 12345. ## Deprecated Network Attributes - + | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| | `net.host.name` | string | Deprecated, use `server.address`. | `example.com` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `server.address`. | diff --git a/docs/attributes-registry/otel.md b/docs/attributes-registry/otel.md index 730ef8a14c..92c94105c5 100644 --- a/docs/attributes-registry/otel.md +++ b/docs/attributes-registry/otel.md @@ -3,7 +3,14 @@ # OpenTelemetry -## Scope Attributes + + +- [OpenTelemetry Attributes](#opentelemetry-attributes) +- [Deprecated OpenTelemetry Attributes](#deprecated-opentelemetry-attributes) + + + +## OpenTelemetry Attributes | Attribute | Type | Description | Examples | Stability | @@ -11,3 +18,12 @@ | `otel.scope.name` | string | The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). | `io.opentelemetry.contrib.mongodb` | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | | `otel.scope.version` | string | The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). | `1.0.0` | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | + +## Deprecated OpenTelemetry Attributes + + +| Attribute | Type | Description | Examples | Stability | +|---|---|---|---|---| +| `otel.library.name` | string | None | `io.opentelemetry.contrib.mongodb` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
use the `otel.scope.name` attribute. | +| `otel.library.version` | string | None | `1.0.0` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
use the `otel.scope.version` attribute. | + \ No newline at end of file diff --git a/docs/attributes-registry/rpc.md b/docs/attributes-registry/rpc.md index 25f7a29087..f8d8e67844 100644 --- a/docs/attributes-registry/rpc.md +++ b/docs/attributes-registry/rpc.md @@ -3,6 +3,13 @@ # RPC + + +- [RPC Attributes](#rpc-attributes) +- [Deprecated RPC Attributes](#deprecated-rpc-attributes) + + + ## RPC Attributes RPC attributes are intended to be used in the context of events related to remote procedure calls (RPC). @@ -102,3 +109,21 @@ RPC attributes are intended to be used in the context of events related to remot | `apache_dubbo` | Apache Dubbo | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `connect_rpc` | Connect RPC | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + +## Deprecated RPC Attributes + + +| Attribute | Type | Description | Examples | Stability | +|---|---|---|---|---| +| `message.compressed_size` | int | Deprecated, use `rpc.message.compressed_size` instead. | | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `rpc.message.compressed_size`. | +| `message.id` | int | Deprecated, use `rpc.message.id` instead. | | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `rpc.message.id`. | +| `message.type` | string | Deprecated, use `rpc.message.type` instead. | `SENT` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `rpc.message.type`. | +| `message.uncompressed_size` | int | Deprecated, use `rpc.message.uncompressed_size` instead. | | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `rpc.message.uncompressed_size`. | + +`message.type` MUST be one of the following: + +| Value | Description | Stability | +|---|---|---| +| `SENT` | sent | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `RECEIVED` | received | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + \ No newline at end of file diff --git a/model/registry/deprecated/container.yaml b/model/registry/deprecated/container.yaml index 49190f6918..77f3466f02 100644 --- a/model/registry/deprecated/container.yaml +++ b/model/registry/deprecated/container.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.container.deprecated + - id: registry.container.deprecated type: attribute_group brief: "Describes deprecated container attributes." attributes: diff --git a/model/registry/deprecated/db.yaml b/model/registry/deprecated/db.yaml index 3d384948c9..2adef825d3 100644 --- a/model/registry/deprecated/db.yaml +++ b/model/registry/deprecated/db.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.db.deprecated + - id: registry.db.deprecated prefix: db type: attribute_group brief: > diff --git a/model/registry/deprecated/http.yaml b/model/registry/deprecated/http.yaml index 746d8f1db4..4eaaa6ce19 100644 --- a/model/registry/deprecated/http.yaml +++ b/model/registry/deprecated/http.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.http.deprecated + - id: registry.http.deprecated type: attribute_group brief: "Describes deprecated HTTP attributes." prefix: http diff --git a/model/registry/deprecated/k8s.yaml b/model/registry/deprecated/k8s.yaml index ae471dd896..e2785dd08e 100644 --- a/model/registry/deprecated/k8s.yaml +++ b/model/registry/deprecated/k8s.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.k8s.deprecated + - id: registry.k8s.deprecated type: attribute_group brief: "Describes deprecated k8s attributes." attributes: diff --git a/model/registry/deprecated/messaging.yaml b/model/registry/deprecated/messaging.yaml index 97da3c55bb..a2675c7c47 100644 --- a/model/registry/deprecated/messaging.yaml +++ b/model/registry/deprecated/messaging.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.messaging.deprecated + - id: registry.messaging.deprecated type: attribute_group brief: "Describes deprecated messaging attributes." attributes: diff --git a/model/registry/deprecated/network.yaml b/model/registry/deprecated/network.yaml index 8377f727e6..6614467174 100644 --- a/model/registry/deprecated/network.yaml +++ b/model/registry/deprecated/network.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.network.deprecated + - id: registry.network.deprecated prefix: net type: attribute_group brief: > diff --git a/model/registry/deprecated/otel.yaml b/model/registry/deprecated/otel.yaml index 23456367bc..c52a51fe8c 100644 --- a/model/registry/deprecated/otel.yaml +++ b/model/registry/deprecated/otel.yaml @@ -1,9 +1,8 @@ groups: - - id: otel.library + - id: registry.otel.library.deprecated prefix: otel.library - type: resource - brief: > - Span attributes used by non-OTLP exporters to represent OpenTelemetry Scope's concepts. + type: attribute_group + brief: "Describes deprecated otel.library attributes." attributes: - id: name type: string diff --git a/model/registry/deprecated/rpc.yaml b/model/registry/deprecated/rpc.yaml index c6c36710fe..1d9d22c2d4 100644 --- a/model/registry/deprecated/rpc.yaml +++ b/model/registry/deprecated/rpc.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.rpc.deprecated + - id: registry.rpc.deprecated type: attribute_group brief: 'Deprecated rpc message attributes.' attributes: diff --git a/model/registry/deprecated/system.yaml b/model/registry/deprecated/system.yaml index bda1dc0e9b..700023ab57 100644 --- a/model/registry/deprecated/system.yaml +++ b/model/registry/deprecated/system.yaml @@ -1,5 +1,5 @@ groups: - - id: attributes.system.deprecated + - id: registry.system.deprecated type: attribute_group brief: "Deprecated system attributes." attributes: