diff --git a/docs/system/container-metrics.md b/docs/system/container-metrics.md index 8a528baaa6..dd00823234 100644 --- a/docs/system/container-metrics.md +++ b/docs/system/container-metrics.md @@ -24,7 +24,6 @@ This metric is optional. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| | [`container.cpu.state`](../attributes-registry/container.md) | string | The CPU state for this data point. A container SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. | `user`; `kernel` | Opt-In | -| [`container.id`](../attributes-registry/container.md) | string | Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. | `a3bf90e006b2` | Recommended | `container.cpu.state` 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. @@ -48,9 +47,6 @@ This metric is optional. -| Attribute | Type | Description | Examples | Requirement Level | -|---|---|---|---|---| -| [`container.id`](../attributes-registry/container.md) | string | Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. | `a3bf90e006b2` | Recommended | ### Metric: `container.disk.io` @@ -68,7 +64,6 @@ This metric is optional. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| [`container.id`](../attributes-registry/container.md) | string | Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. | `a3bf90e006b2` | Recommended | | [`disk.io.direction`](../attributes-registry/disk.md) | string | The disk IO operation direction. | `read` | Recommended | | `system.device` | string | The device identifier | `(identifier)` | Recommended | @@ -95,7 +90,6 @@ This metric is optional. | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| [`container.id`](../attributes-registry/container.md) | string | Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. | `a3bf90e006b2` | Recommended | | [`network.io.direction`](../attributes-registry/network.md) | string | The network IO operation direction. | `transmit` | Recommended | | `system.device` | string | The device identifier | `(identifier)` | Recommended | diff --git a/model/metrics/container.yaml b/model/metrics/container.yaml index f4d1e5f331..d220c571fb 100644 --- a/model/metrics/container.yaml +++ b/model/metrics/container.yaml @@ -11,7 +11,6 @@ groups: attributes: - ref: container.cpu.state requirement_level: opt_in - - ref: container.id # container.memory.* metrics and attribute group - id: metric.container.memory.usage @@ -22,8 +21,6 @@ groups: Memory usage of the container. instrument: counter unit: "By" - attributes: - - ref: container.id # container.disk.io.* metrics and attribute group - id: metric.container.disk.io @@ -36,7 +33,6 @@ groups: instrument: counter unit: "By" attributes: - - ref: container.id - ref: disk.io.direction - ref: system.device @@ -52,6 +48,5 @@ groups: instrument: counter unit: "By" attributes: - - ref: container.id - ref: network.io.direction - ref: system.device