Skip to content

Commit 6dd39bc

Browse files
thompson-tomoShipraJain01
authored andcommitted
[chore] Use rename deprecations for ios/Android open-telemetry#2602 (open-telemetry#2603)
1 parent c053894 commit 6dd39bc

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

docs/registry/attributes/android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This document defines attributes that represents an occurrence of a lifecycle tr
3333

3434
| Attribute | Type | Description | Examples | Stability |
3535
|---|---|---|---|---|
36-
| <a id="android-state" href="#android-state">`android.state`</a> | string | Deprecated. Use `android.app.state` attribute instead. | `created`; `background`; `foreground` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Use `android.app.state` attribute instead. |
36+
| <a id="android-state" href="#android-state">`android.state`</a> | string | Deprecated. Use `android.app.state` attribute instead. | `created`; `background`; `foreground` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `android.app.state`. |
3737

3838
---
3939

docs/registry/attributes/ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The iOS platform on which the iOS application is running.
3434

3535
| Attribute | Type | Description | Examples | Stability |
3636
|---|---|---|---|---|
37-
| <a id="ios-state" href="#ios-state">`ios.state`</a> | string | Deprecated. Use the `ios.app.state` attribute. [2] | `active`; `inactive`; `background` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by the `ios.app.state` attribute. |
37+
| <a id="ios-state" href="#ios-state">`ios.state`</a> | string | Deprecated. Use the `ios.app.state` attribute. [2] | `active`; `inactive`; `background` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `ios.app.state`. |
3838

3939
**[2] `ios.state`:** The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate), and from which the `OS terminology` column values are derived.
4040

model/android/deprecated/registry-deprecated.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ groups:
99
stability: development
1010
brief: Deprecated. Use `android.app.state` attribute instead.
1111
deprecated:
12-
reason: uncategorized
13-
note: Use `android.app.state` attribute instead.
12+
reason: renamed
13+
renamed_to: android.app.state
1414
type:
1515
members:
1616
- id: created

model/ios/deprecated/registry-deprecated.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ groups:
1010
brief: >
1111
Deprecated. Use the `ios.app.state` attribute.
1212
deprecated:
13-
reason: uncategorized
14-
note:
15-
Replaced by the `ios.app.state` attribute.
13+
reason: renamed
14+
renamed_to: ios.app.state
1615
note: >
1716
The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate),
1817
and from which the `OS terminology` column values are derived.

0 commit comments

Comments
 (0)