Skip to content

Commit

Permalink
[chore] Fix double the typos (#806)
Browse files Browse the repository at this point in the history
Co-authored-by: Reiley Yang <[email protected]>
  • Loading branch information
dmathieu and reyang authored Mar 11, 2024
1 parent 3edef61 commit ac0c577
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/attributes-registry/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ linkTitle: URL
| `url.query` | string | ![Stable](https://img.shields.io/badge/-stable-lightgreen)<br>The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component [6] | `q=OpenTelemetry` |
| `url.registered_domain` | string | The highest registered url domain, stripped of the subdomain. [7] | `example.com`; `foo.co.uk` |
| `url.scheme` | string | ![Stable](https://img.shields.io/badge/-stable-lightgreen)<br>The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. | `https`; `ftp`; `telnet` |
| `url.subdomain` | string | The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. [8] | `east`; `sub2.sub1` |
| `url.subdomain` | string | The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. [8] | `east`; `sub2.sub1` |
| `url.top_level_domain` | string | The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. [9] | `com`; `co.uk` |

**[1]:** In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field.
Expand All @@ -42,4 +42,4 @@ linkTitle: URL
**[8]:** The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.

**[9]:** This value can be determined precisely with the [public suffix list](http://publicsuffix.org).
<!-- endsemconv -->
<!-- endsemconv -->
4 changes: 2 additions & 2 deletions docs/database/dynamodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ These attributes are filled in for all DynamoDB request types.
|---|---|---|---|---|
| `aws.dynamodb.exclusive_start_table` | string | The value of the `ExclusiveStartTableName` request parameter. | `Users`; `CatsTable` | Recommended |
| `aws.dynamodb.limit` | int | The value of the `Limit` request parameter. | `10` | Recommended |
| `aws.dynamodb.table_count` | int | The the number of items in the `TableNames` response parameter. | `20` | Recommended |
| `aws.dynamodb.table_count` | int | The number of items in the `TableNames` response parameter. | `20` | Recommended |
<!-- endsemconv -->

## DynamoDB.PutItem
Expand Down Expand Up @@ -164,7 +164,7 @@ These attributes are filled in for all DynamoDB request types.
|---|---|---|---|---|
| `aws.dynamodb.attribute_definitions` | string[] | The JSON-serialized value of each item in the `AttributeDefinitions` request field. | `[{ "AttributeName": "string", "AttributeType": "string" }]` | Recommended |
| `aws.dynamodb.consumed_capacity` | string[] | The JSON-serialized value of each item in the `ConsumedCapacity` response field. | `[{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table": { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName": "string", "WriteCapacityUnits": number }]` | Recommended |
| `aws.dynamodb.global_secondary_index_updates` | string[] | The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates` request field. | `[{ "Create": { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } }]` | Recommended |
| `aws.dynamodb.global_secondary_index_updates` | string[] | The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. | `[{ "Create": { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } }]` | Recommended |
| `aws.dynamodb.provisioned_read_capacity` | double | The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. | `1.0`; `2.0` | Recommended |
| `aws.dynamodb.provisioned_write_capacity` | double | The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. | `1.0`; `2.0` | Recommended |
| `aws.dynamodb.table_names` | string[] | A single-element array with the value of the TableName request parameter. | `[Users]` | Recommended |
Expand Down
2 changes: 1 addition & 1 deletion model/registry/url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ groups:
stability: experimental
brief: >
The subdomain portion of a fully qualified domain name includes all of the names except the host name
under the registered_domain. In a partially qualified domain, or if the the qualification level of the
under the registered_domain. In a partially qualified domain, or if the qualification level of the
full name cannot be determined, subdomain contains all of the names below the registered domain.
examples: ["east", "sub2.sub1"]
note: >
Expand Down
4 changes: 2 additions & 2 deletions model/trace/instrumentation/aws-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ groups:
- id: table_count
type: int
stability: experimental
brief: "The the number of items in the `TableNames` response parameter."
brief: "The number of items in the `TableNames` response parameter."
examples:
- 20
- ref: aws.dynamodb.limit
Expand Down Expand Up @@ -427,7 +427,7 @@ groups:
- id: global_secondary_index_updates
type: string[]
stability: experimental
brief: "The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates` request field."
brief: "The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field."
examples:
- '{
"Create": {
Expand Down

0 comments on commit ac0c577

Please sign in to comment.