[chore] Add missing deprecated and briefs for deprecated attributes (#1391)
This commit is contained in:
parent
d73e44d09d
commit
d515887174
|
|
@ -22,8 +22,8 @@ The Android platform on which the Android application is running.
|
||||||
This document defines attributes that represents an occurrence of a lifecycle transition on the Android platform.
|
This document defines attributes that represents an occurrence of a lifecycle transition on the Android platform.
|
||||||
|
|
||||||
| Attribute | Type | Description | Examples | Stability |
|
| Attribute | Type | Description | Examples | Stability |
|
||||||
| --------------- | ------ | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ---------------------------------------------------------------- |
|
| --------------- | ------ | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
||||||
| `android.state` | string | Deprecated use the `device.app.lifecycle` event definition including `android.state` as a payload field instead. [1] | `created`; `background`; `foreground` |  |
|
| `android.state` | string | Deprecated use the `device.app.lifecycle` event definition including `android.state` as a payload field instead. [1] | `created`; `background`; `foreground` | <br>Replaced by `device.app.lifecycle`. |
|
||||||
|
|
||||||
**[1]:** 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.
|
**[1]:** 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.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ This group defines attributes for Elasticsearch.
|
||||||
| Attribute | Type | Description | Examples | Stability |
|
| Attribute | Type | Description | Examples | Stability |
|
||||||
| ------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `db.cassandra.table` | string | Deprecated, use `db.collection.name` instead. | `mytable` | <br>Replaced by `db.collection.name`. |
|
| `db.cassandra.table` | string | Deprecated, use `db.collection.name` instead. | `mytable` | <br>Replaced by `db.collection.name`. |
|
||||||
| `db.connection_string` | string | Deprecated, use `server.address`, `server.port` attributes instead. | `Server=(localdb)\v11.0;Integrated Security=true;` | <br>"Replaced by `server.address` and `server.port`." |
|
| `db.connection_string` | string | Deprecated, use `server.address`, `server.port` attributes instead. | `Server=(localdb)\v11.0;Integrated Security=true;` | <br>Replaced by `server.address` and `server.port`. |
|
||||||
| `db.cosmosdb.container` | string | Deprecated, use `db.collection.name` instead. | `mytable` | <br>Replaced by `db.collection.name`. |
|
| `db.cosmosdb.container` | string | Deprecated, use `db.collection.name` instead. | `mytable` | <br>Replaced by `db.collection.name`. |
|
||||||
| `db.elasticsearch.cluster.name` | string | Deprecated, use `db.namespace` instead. | `e9106fc68e3044f0b1475b04bf4ffd5f` | <br>Replaced by `db.namespace`. |
|
| `db.elasticsearch.cluster.name` | string | Deprecated, use `db.namespace` instead. | `e9106fc68e3044f0b1475b04bf4ffd5f` | <br>Replaced by `db.namespace`. |
|
||||||
| `db.instance.id` | string | Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. | `mysql-e26b99z.example.com` | <br>Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. |
|
| `db.instance.id` | string | Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. | `mysql-e26b99z.example.com` | <br>Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. |
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,6 @@ Attributes used by non-OTLP exporters to represent OpenTelemetry Scope's concept
|
||||||
Describes deprecated otel.library attributes.
|
Describes deprecated otel.library attributes.
|
||||||
|
|
||||||
| Attribute | Type | Description | Examples | Stability |
|
| Attribute | Type | Description | Examples | Stability |
|
||||||
| ---------------------- | ------ | ----------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
| ---------------------- | ------ | --------------------------------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||||
| `otel.library.name` | string | | `io.opentelemetry.contrib.mongodb` | <br>use the `otel.scope.name` attribute. |
|
| `otel.library.name` | string | Deprecated. Use the `otel.scope.name` attribute | `io.opentelemetry.contrib.mongodb` | <br>Use the `otel.scope.name` attribute. |
|
||||||
| `otel.library.version` | string | | `1.0.0` | <br>use the `otel.scope.version` attribute. |
|
| `otel.library.version` | string | Deprecated. Use the `otel.scope.version` attribute. | `1.0.0` | <br>Use the `otel.scope.version` attribute. |
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ groups:
|
||||||
attributes:
|
attributes:
|
||||||
- id: android.state
|
- id: android.state
|
||||||
stability: experimental
|
stability: experimental
|
||||||
|
deprecated: "Replaced by `device.app.lifecycle`."
|
||||||
brief: >
|
brief: >
|
||||||
Deprecated use the `device.app.lifecycle` event definition including
|
Deprecated use the `device.app.lifecycle` event definition including
|
||||||
`android.state` as a payload field instead.
|
`android.state` as a payload field instead.
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,7 @@ groups:
|
||||||
type: string
|
type: string
|
||||||
brief: 'Deprecated, use `server.address`, `server.port` attributes instead.'
|
brief: 'Deprecated, use `server.address`, `server.port` attributes instead.'
|
||||||
stability: experimental
|
stability: experimental
|
||||||
deprecated: >
|
deprecated: "Replaced by `server.address` and `server.port`."
|
||||||
"Replaced by `server.address` and `server.port`."
|
|
||||||
examples: Server=(localdb)\v11.0;Integrated Security=true;
|
examples: Server=(localdb)\v11.0;Integrated Security=true;
|
||||||
- id: db.jdbc.driver_classname
|
- id: db.jdbc.driver_classname
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,7 @@ groups:
|
||||||
type: string
|
type: string
|
||||||
brief: >
|
brief: >
|
||||||
Deprecated, use `messaging.consumer.group.name` instead.
|
Deprecated, use `messaging.consumer.group.name` instead.
|
||||||
deprecated: >
|
deprecated: "Replaced by `messaging.consumer.group.name`."
|
||||||
Replaced by `messaging.consumer.group.name`.
|
|
||||||
stability: experimental
|
stability: experimental
|
||||||
examples: 'my-group'
|
examples: 'my-group'
|
||||||
- id: messaging.rocketmq.client_group
|
- id: messaging.rocketmq.client_group
|
||||||
|
|
@ -39,32 +38,28 @@ groups:
|
||||||
Deprecated, use `messaging.consumer.group.name` instead.
|
Deprecated, use `messaging.consumer.group.name` instead.
|
||||||
stability: experimental
|
stability: experimental
|
||||||
examples: 'myConsumerGroup'
|
examples: 'myConsumerGroup'
|
||||||
deprecated: >
|
deprecated: "Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans."
|
||||||
Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans.
|
|
||||||
- id: messaging.eventhubs.consumer.group
|
- id: messaging.eventhubs.consumer.group
|
||||||
type: string
|
type: string
|
||||||
brief: >
|
brief: >
|
||||||
Deprecated, use `messaging.consumer.group.name` instead.
|
Deprecated, use `messaging.consumer.group.name` instead.
|
||||||
stability: experimental
|
stability: experimental
|
||||||
examples: '$Default'
|
examples: '$Default'
|
||||||
deprecated: >
|
deprecated: "Replaced by `messaging.consumer.group.name`."
|
||||||
Replaced by `messaging.consumer.group.name`.
|
|
||||||
- id: messaging.servicebus.destination.subscription_name
|
- id: messaging.servicebus.destination.subscription_name
|
||||||
type: string
|
type: string
|
||||||
brief: >
|
brief: >
|
||||||
Deprecated, use `messaging.servicebus.destination.subscription_name` instead.
|
Deprecated, use `messaging.servicebus.destination.subscription_name` instead.
|
||||||
stability: experimental
|
stability: experimental
|
||||||
examples: 'subscription-a'
|
examples: 'subscription-a'
|
||||||
deprecated: >
|
deprecated: "Replaced by `messaging.servicebus.destination.subscription_name`."
|
||||||
Replaced by `messaging.servicebus.destination.subscription_name`.
|
|
||||||
- id: messaging.kafka.message.offset
|
- id: messaging.kafka.message.offset
|
||||||
type: int
|
type: int
|
||||||
stability: experimental
|
stability: experimental
|
||||||
brief: >
|
brief: >
|
||||||
Deprecated, use `messaging.kafka.offset` instead.
|
Deprecated, use `messaging.kafka.offset` instead.
|
||||||
examples: 42
|
examples: 42
|
||||||
deprecated: >
|
deprecated: "Replaced by `messaging.kafka.offset`."
|
||||||
Replaced by `messaging.kafka.offset`.
|
|
||||||
- id: messaging.destination_publish.anonymous
|
- id: messaging.destination_publish.anonymous
|
||||||
type: boolean
|
type: boolean
|
||||||
stability: experimental
|
stability: experimental
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,13 @@ groups:
|
||||||
attributes:
|
attributes:
|
||||||
- id: otel.library.name
|
- id: otel.library.name
|
||||||
type: string
|
type: string
|
||||||
deprecated: use the `otel.scope.name` attribute.
|
deprecated: "Use the `otel.scope.name` attribute."
|
||||||
stability: experimental
|
stability: experimental
|
||||||
brief: ""
|
brief: "Deprecated. Use the `otel.scope.name` attribute"
|
||||||
examples: ['io.opentelemetry.contrib.mongodb']
|
examples: ['io.opentelemetry.contrib.mongodb']
|
||||||
- id: otel.library.version
|
- id: otel.library.version
|
||||||
type: string
|
type: string
|
||||||
deprecated: use the `otel.scope.version` attribute.
|
deprecated: "Use the `otel.scope.version` attribute."
|
||||||
stability: experimental
|
stability: experimental
|
||||||
brief: ""
|
brief: "Deprecated. Use the `otel.scope.version` attribute."
|
||||||
examples: ['1.0.0']
|
examples: ['1.0.0']
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue