diff --git a/docs/attributes-registry/README.md b/docs/attributes-registry/README.md index c8a0702d3e..2e483c4eda 100644 --- a/docs/attributes-registry/README.md +++ b/docs/attributes-registry/README.md @@ -34,6 +34,7 @@ Currently, the following namespaces exist: * [DB](db.md) (database) * [Destination](destination.md) * [Device](device.md) +* [Disk](disk.md) * [Error](error.md) * [Host](host.md) * [HTTP](http.md) diff --git a/docs/attributes-registry/disk.md b/docs/attributes-registry/disk.md new file mode 100644 index 0000000000..a983873365 --- /dev/null +++ b/docs/attributes-registry/disk.md @@ -0,0 +1,19 @@ + + +# Disk + +## Disk Attributes + + +| Attribute | Type | Description | Examples | +|---|---|---|---| +| `disk.io.direction` | string | The disk IO operation direction. | `read` | + +`disk.io.direction` MUST be one of the following: + +| Value | Description | +|---|---| +| `read` | read | +| `write` | write | + diff --git a/docs/system/system-metrics.md b/docs/system/system-metrics.md index f33a871e4a..d39384babc 100644 --- a/docs/system/system-metrics.md +++ b/docs/system/system-metrics.md @@ -359,7 +359,7 @@ This metric is [recommended][MetricRecommended]. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `disk.io.direction` | string | The disk IO operation direction. | `read` | Recommended | +| [`disk.io.direction`](../attributes-registry/disk.md) | string | The disk IO operation direction. | `read` | Recommended | | `system.device` | string | The device identifier | `(identifier)` | Recommended | `disk.io.direction` MUST be one of the following: @@ -383,7 +383,7 @@ This metric is [recommended][MetricRecommended]. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `disk.io.direction` | string | The disk IO operation direction. | `read` | Recommended | +| [`disk.io.direction`](../attributes-registry/disk.md) | string | The disk IO operation direction. | `read` | Recommended | | `system.device` | string | The device identifier | `(identifier)` | Recommended | `disk.io.direction` MUST be one of the following: @@ -435,7 +435,7 @@ This metric is [recommended][MetricRecommended]. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `disk.io.direction` | string | The disk IO operation direction. | `read` | Recommended | +| [`disk.io.direction`](../attributes-registry/disk.md) | string | The disk IO operation direction. | `read` | Recommended | | `system.device` | string | The device identifier | `(identifier)` | Recommended | `disk.io.direction` MUST be one of the following: @@ -459,7 +459,7 @@ This metric is [recommended][MetricRecommended]. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `disk.io.direction` | string | The disk IO operation direction. | `read` | Recommended | +| [`disk.io.direction`](../attributes-registry/disk.md) | string | The disk IO operation direction. | `read` | Recommended | | `system.device` | string | The device identifier | `(identifier)` | Recommended | `disk.io.direction` MUST be one of the following: