Skip to content

Commit f48569b

Browse files
authored
Fix deprecation notes on enduser.role and db.cosmosdb.status_code (#3004)
1 parent a28a961 commit f48569b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/registry/attributes/db.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Describes deprecated database attributes.
192192
| <a id="db-cosmosdb-regions-contacted" href="#db-cosmosdb-regions-contacted">`db.cosmosdb.regions_contacted`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `azure.cosmosdb.operation.contacted_regions`. | string[] | Deprecated, use `azure.cosmosdb.operation.contacted_regions` instead. | `["North Central US", "Australia East", "Australia Southeast"]` |
193193
| <a id="db-cosmosdb-request-charge" href="#db-cosmosdb-request-charge">`db.cosmosdb.request_charge`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `azure.cosmosdb.operation.request_charge`. | double | Deprecated, use `azure.cosmosdb.operation.request_charge` instead. | `46.18`; `1.0` |
194194
| <a id="db-cosmosdb-request-content-length" href="#db-cosmosdb-request-content-length">`db.cosmosdb.request_content_length`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `azure.cosmosdb.request.body.size`. | int | Deprecated, use `azure.cosmosdb.request.body.size` instead. | |
195-
| <a id="db-cosmosdb-status-code" href="#db-cosmosdb-status-code">`db.cosmosdb.status_code`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Uncategorized. | int | Deprecated, use `db.response.status_code` instead. | `200`; `201` |
195+
| <a id="db-cosmosdb-status-code" href="#db-cosmosdb-status-code">`db.cosmosdb.status_code`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Use `db.response.status_code` instead. | int | Deprecated, use `db.response.status_code` instead. | `200`; `201` |
196196
| <a id="db-cosmosdb-sub-status-code" href="#db-cosmosdb-sub-status-code">`db.cosmosdb.sub_status_code`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `azure.cosmosdb.response.sub_status_code`. | int | Deprecated, use `azure.cosmosdb.response.sub_status_code` instead. | `1000`; `1002` |
197197
| <a id="db-elasticsearch-cluster-name" href="#db-elasticsearch-cluster-name">`db.elasticsearch.cluster.name`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `db.namespace`. | string | Deprecated, use `db.namespace` instead. | `e9106fc68e3044f0b1475b04bf4ffd5f` |
198198
| <a id="db-elasticsearch-node-name" href="#db-elasticsearch-node-name">`db.elasticsearch.node.name`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `elasticsearch.node.name`. | string | Deprecated, use `elasticsearch.node.name` instead. | `instance-0000000001` |

docs/registry/attributes/enduser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ Describes deprecated enduser attributes.
3535

3636
| Key | Stability | Value Type | Description | Example Values |
3737
|---|---|---|---|---|
38-
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Uncategorized. | string | Deprecated, use `user.roles` instead. | `admin` |
38+
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Use `user.roles` instead. | string | Deprecated, use `user.roles` instead. | `admin` |
3939
| <a id="enduser-scope" href="#enduser-scope">`enduser.scope`</a> | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, no replacement at this time. | string | Deprecated, no replacement at this time. | `read:message, write:files` |

model/database/deprecated/registry-deprecated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ groups:
127127
stability: development
128128
deprecated:
129129
reason: uncategorized
130-
renamed_to: Use `db.response.status_code` instead.
130+
note: Use `db.response.status_code` instead.
131131
brief: 'Deprecated, use `db.response.status_code` instead.'
132132
examples: [200, 201]
133133
- id: db.cosmosdb.operation_type

model/enduser/deprecated/registry-deprecated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ groups:
88
type: string
99
deprecated:
1010
reason: uncategorized
11-
renamed_to: Use `user.roles` instead.
11+
note: Use `user.roles` instead.
1212
stability: development
1313
brief: "Deprecated, use `user.roles` instead."
1414
examples: 'admin'

0 commit comments

Comments
 (0)