Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jan 17, 2025
1 parent 4e94cf2 commit fc57073
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/database/cosmosdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ linkTitle: Cosmos DB
- [Example](#example)
- [Operation Level Metrics](#operation-level-metrics)
- [Metric: `db.client.operation.duration`](#metric-dbclientoperationduration)
- [Metric: `azure.cosmosdb.client.response.returned_rows`](#metric-azurecosmosdbclientresponsereturned_rows)
- [Metric: `db.client.response.returned_rows`](#metric-dbclientresponsereturned_rows)
- [Metric: `azure.cosmosdb.client.operation.request_charge`](#metric-azurecosmosdbclientoperationrequest_charge)
- [Metric: `azure.cosmosdb.client.active_instance.count`](#metric-azurecosmosdbclientactive_instancecount)

Expand Down
2 changes: 1 addition & 1 deletion internal/tools/scripts/registry/areas-weaver.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
templates:
- pattern: areas.md.j2
filter: >
semconv_grouped_attributes({"exclude_deprecated": true}) | .[].root_namespace | unique
semconv_grouped_attributes({"exclude_deprecated": true}) | .[].root_namespace
application_mode: single
whitespace_control:
trim_blocks: true
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/scripts/registry/areas.md.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- template.set_file_name("areas.txt") -}}

{% for item in ctx | map('map_text', 'areas') | sort %}
{% for item in ctx | map('map_text', 'areas') | unique | sort %}
area:{{ item | kebab_case }}
{% endfor %}
4 changes: 2 additions & 2 deletions schema-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ versions:
# does not support it, adding as a comment for consistency
# db.elasticsearch.path_parts.<key> -> db.operation.parameter.<key>
- rename_metrics:
db.client.cosmosdb.operation.request_charge: azure.cosmosdb.client.operation.request.charge
db.client.cosmosdb.active_instance.count: azure.cosmosdb.client.active_instance.count
db.client.cosmosdb.operation.request_charge: azure.cosmosdb.client.operation.request.charge
db.client.cosmosdb.active_instance.count: azure.cosmosdb.client.active_instance.count

1.29.0:
all:
Expand Down

0 comments on commit fc57073

Please sign in to comment.