Skip to content

Commit ed372cc

Browse files
[chore] manual table linting (#3134)
1 parent 6d081b1 commit ed372cc

File tree

19 files changed

+497
-497
lines changed

19 files changed

+497
-497
lines changed

docs/db/cosmosdb.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -293,21 +293,21 @@ and SHOULD be provided **at span creation time** (if provided at all):
293293

294294
### Example
295295

296-
| Key | Value |
297-
|:-------------------------------------| :------------------- |
298-
| Span name | `"read_item orders"` |
299-
| `azure.client.id` | `"3ba4827d-4422-483f-b59f-85b74211c11d"` |
300-
| `azure.cosmosdb.operation.request_charge` | `7.43` |
301-
| `azure.cosmosdb.request.body.size` | `20` |
302-
| `azure.cosmosdb.response.sub_status_code` | `0` |
303-
| `azure.resource_provider.namespace` | `"Microsoft.DocumentDB"` |
304-
| `db.system.name` | `"azure.cosmosdb"` |
305-
| `db.collection.name` | `"orders"` |
306-
| `db.namespace` | `"ShopDb"` |
307-
| `db.operation.name` | `"read_item"` |
308-
| `db.response.status_code` | `201` |
309-
| `server.address` | `"account.documents.azure.com"` |
310-
| `user_agent.original` | `"cosmos-netstandard-sdk/3.23.0\|3.23.1\|1\|X64\|Linux 5.4.0-1098-azure 104 18\|.NET Core 3.1.32\|S\|"` |
296+
| Key | Value |
297+
| :---------------------------------------- | :------------------------------------------------------------------------------------------------------ |
298+
| Span name | `"read_item orders"` |
299+
| `azure.client.id` | `"3ba4827d-4422-483f-b59f-85b74211c11d"` |
300+
| `azure.cosmosdb.operation.request_charge` | `7.43` |
301+
| `azure.cosmosdb.request.body.size` | `20` |
302+
| `azure.cosmosdb.response.sub_status_code` | `0` |
303+
| `azure.resource_provider.namespace` | `"Microsoft.DocumentDB"` |
304+
| `db.system.name` | `"azure.cosmosdb"` |
305+
| `db.collection.name` | `"orders"` |
306+
| `db.namespace` | `"ShopDb"` |
307+
| `db.operation.name` | `"read_item"` |
308+
| `db.response.status_code` | `201` |
309+
| `server.address` | `"account.documents.azure.com"` |
310+
| `user_agent.original` | `"cosmos-netstandard-sdk/3.23.0\|3.23.1\|1\|X64\|Linux 5.4.0-1098-azure 104 18\|.NET Core 3.1.32\|S\|"` |
311311

312312
## Metrics
313313

docs/db/elasticsearch.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -170,20 +170,20 @@ and SHOULD be provided **at span creation time** (if provided at all):
170170

171171
### Example
172172

173-
| Key | Value |
174-
|:------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------|
175-
| Span name | `"search my-index"` |
176-
| `db.system.name` | `"elasticsearch"` |
177-
| `server.address` | `"elasticsearch.mydomain.com"` |
178-
| `server.port` | `9200` |
179-
| `http.request.method` | `"GET"` |
180-
| `db.query.text` | `"{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}"` |
181-
| `db.operation.name` | `"search"` |
182-
| `db.collection.name` | `"my-index"` |
183-
| `url.full` | `"https://elasticsearch.mydomain.com:9200/my-index-000001/_search?from=40&size=20"` |
184-
| `db.namespace` | `"my-cluster"` |
185-
| `elasticsearch.node.name` | `"instance-0000000001"` |
186-
| `db.operation.parameter.index` | `"my-index-000001"` |
173+
| Key | Value |
174+
| :----------------------------- | :---------------------------------------------------------------------------------- |
175+
| Span name | `"search my-index"` |
176+
| `db.system.name` | `"elasticsearch"` |
177+
| `server.address` | `"elasticsearch.mydomain.com"` |
178+
| `server.port` | `9200` |
179+
| `http.request.method` | `"GET"` |
180+
| `db.query.text` | `"{\"query\":{\"term\":{\"user.id\":\"kimchy\"}}}"` |
181+
| `db.operation.name` | `"search"` |
182+
| `db.collection.name` | `"my-index"` |
183+
| `url.full` | `"https://elasticsearch.mydomain.com:9200/my-index-000001/_search?from=40&size=20"` |
184+
| `db.namespace` | `"my-cluster"` |
185+
| `elasticsearch.node.name` | `"instance-0000000001"` |
186+
| `db.operation.parameter.index` | `"my-index-000001"` |
187187

188188
## Metrics
189189

docs/db/mongodb.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,19 @@ and SHOULD be provided **at span creation time** (if provided at all):
9090

9191
### Example
9292

93-
| Key | Value |
94-
|:------------------------| :----------------------------------------------------------- |
95-
| Span name | `"findAndModify products"` |
96-
| `db.system.name` | `"mongodb"` |
97-
| `server.address` | `"mongodb0.example.com"` |
98-
| `server.port` | `27017` |
99-
| `network.peer.address` | `"192.0.2.14"` |
100-
| `network.peer.port` | `27017` |
101-
| `network.transport` | `"tcp"` |
102-
| `db.collection.name` | `"products"` |
103-
| `db.namespace` | `"shopDb"` |
104-
| `db.query.text` | not set |
105-
| `db.operation.name` | `"findAndModify"` |
93+
| Key | Value |
94+
| :--------------------- | :------------------------- |
95+
| Span name | `"findAndModify products"` |
96+
| `db.system.name` | `"mongodb"` |
97+
| `server.address` | `"mongodb0.example.com"` |
98+
| `server.port` | `27017` |
99+
| `network.peer.address` | `"192.0.2.14"` |
100+
| `network.peer.port` | `27017` |
101+
| `network.transport` | `"tcp"` |
102+
| `db.collection.name` | `"products"` |
103+
| `db.namespace` | `"shopDb"` |
104+
| `db.query.text` | not set |
105+
| `db.operation.name` | `"findAndModify"` |
106106

107107
## Metrics
108108

docs/db/redis.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ and SHOULD be provided **at span creation time** (if provided at all):
106106

107107
In this example, Redis is connected using a unix domain socket and therefore the connection string is left out.
108108

109-
| Key | Value |
110-
|:--------------------------| :-------------------------------------------- |
111-
| Span name | `"HMSET"` |
112-
| `db.system.name` | `"redis"` |
113-
| `network.peer.address` | `"/tmp/redis.sock"` |
114-
| `network.transport` | `"unix"` |
115-
| `db.namespace` | `"15"` |
116-
| `db.query.text` | `"HMSET myhash field1 'Hello' field2 'World"` |
117-
| `db.operation.name` | `"HMSET"` |
109+
| Key | Value |
110+
| :--------------------- | :-------------------------------------------- |
111+
| Span name | `"HMSET"` |
112+
| `db.system.name` | `"redis"` |
113+
| `network.peer.address` | `"/tmp/redis.sock"` |
114+
| `network.transport` | `"unix"` |
115+
| `db.namespace` | `"15"` |
116+
| `db.query.text` | `"HMSET myhash field1 'Hello' field2 'World"` |
117+
| `db.operation.name` | `"HMSET"` |
118118

119119
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

docs/db/sql.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ and SHOULD be provided **at span creation time** (if provided at all):
210210

211211
This is an example of attributes for a MySQL database span:
212212

213-
| Key | Value |
214-
|:-----------------------| :----------------------------------------------------------- |
215-
| Span name | `"SELECT orders"` |
216-
| `db.namespace` | `"ShopDb"` |
217-
| `db.system.name` | `"mysql"` |
218-
| `server.address` | `"shopdb.example.com"` |
219-
| `server.port` | `3306` |
220-
| `db.query.text` | `"SELECT * FROM orders WHERE order_id = 'o4711'"` |
213+
| Key | Value |
214+
| :--------------- | :------------------------------------------------ |
215+
| Span name | `"SELECT orders"` |
216+
| `db.namespace` | `"ShopDb"` |
217+
| `db.system.name` | `"mysql"` |
218+
| `server.address` | `"shopdb.example.com"` |
219+
| `server.port` | `3306` |
220+
| `db.query.text` | `"SELECT * FROM orders WHERE order_id = 'o4711'"` |
221221

222222
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

docs/dotnet/dotnet-dns-metrics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ This metric SHOULD be specified with
2424
of `[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.
2525

2626
<!-- Tables in this document are not auto-generated and are intentionally frozen in time. From the .NET perspective this metric and its attributes are stable till the next major version. They are still experimental in the OpenTelemetry. -->
27-
| Name | Instrument Type | Unit (UCUM) | Description |
28-
| -------- | --------------- | ----------- | -------------- |
27+
| Name | Instrument Type | Unit (UCUM) | Description |
28+
| ---- | --------------- | ----------- | ----------- |
2929
| `dns.lookup.duration` | Histogram | `s` | Measures the time taken to perform a DNS lookup. [1] |
3030

3131
**[1]:** Meter name: `System.Net.NameResolution`; Added in: .NET 8.0
3232

33-
| Attribute | Type | Description | Examples | Requirement Level |
34-
|---|---|---|---|---|
33+
| Attribute | Type | Description | Examples | Requirement Level |
34+
| --- | --- | --- | --- | --- |
3535
| `dns.question.name` | string | The name being queried. [1] | `www.example.com`; `dot.net` | Required |
3636
| [`error.type`](../registry/attributes/error.md) | string | One of the resolution errors or the full name of exception type. [2] | `host_not_found`; `no_recovery`; `System.Net.Sockets.SocketException` | Conditionally Required: if and only if an error has occurred. |
3737

@@ -50,8 +50,8 @@ for more details.
5050

5151
`error.type` has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
5252

53-
| Value | Description |
54-
|---|---|
53+
| Value | Description |
54+
| --- | --- |
5555
| `_OTHER` | A fallback error value to be used when the instrumentation doesn't define a custom value. |
5656

5757
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

0 commit comments

Comments
 (0)