|
| 1 | +<!--- Hugo front matter used to generate the website version of this page: |
| 2 | +linkTitle: Common |
| 3 | +---> |
| 4 | + |
| 5 | +# Semantic conventions for physical host metrics |
| 6 | + |
| 7 | +**Status**: [Development][DocumentStatus] |
| 8 | + |
| 9 | +<!-- toc --> |
| 10 | + |
| 11 | +- [Physical host metrics `hw.host.*`](#physical-host-metrics-hwhost) |
| 12 | + - [Metric: `hw.host.ambient_temperature`](#metric-hwhostambient_temperature) |
| 13 | + - [Metric: `hw.host.energy`](#metric-hwhostenergy) |
| 14 | + - [Metric: `hw.host.heating_margin`](#metric-hwhostheating_margin) |
| 15 | + - [Metric: `hw.host.power`](#metric-hwhostpower) |
| 16 | + |
| 17 | +<!-- tocstop --> |
| 18 | + |
| 19 | +## Physical host metrics `hw.host.*` |
| 20 | + |
| 21 | +Physical system as opposed to a virtual system or a container. |
| 22 | +Examples: physical server, switch or disk array. |
| 23 | + |
| 24 | +### Metric: `hw.host.ambient_temperature` |
| 25 | + |
| 26 | +This metric is [recommended][MetricRecommended]. |
| 27 | + |
| 28 | +<!-- semconv metric.hw.host.ambient_temperature --> |
| 29 | +<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. --> |
| 30 | +<!-- see templates/registry/markdown/snippet.md.j2 --> |
| 31 | +<!-- prettier-ignore-start --> |
| 32 | +<!-- markdownlint-capture --> |
| 33 | +<!-- markdownlint-disable --> |
| 34 | + |
| 35 | +| Name | Instrument Type | Unit (UCUM) | Description | Stability | |
| 36 | +| -------- | --------------- | ----------- | -------------- | --------- | |
| 37 | +| `hw.host.ambient_temperature` | Gauge | `Cel` | Ambient (external) temperature of the physical host |  | |
| 38 | + |
| 39 | +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |
| 40 | +|---|---|---|---|---|---| |
| 41 | +| [`hw.id`](/docs/attributes-registry/hardware.md) | string | An identifier for the hardware component, unique within the monitored host | `win32battery_battery_testsysa33_1` | `Required` |  | |
| 42 | +| [`hw.name`](/docs/attributes-registry/hardware.md) | string | An easily-recognizable name for the hardware component | `eth0` | `Recommended` |  | |
| 43 | +| [`hw.parent`](/docs/attributes-registry/hardware.md) | string | Unique identifier of the parent component (typically the `hw.id` attribute of the enclosure, or disk controller) | `dellStorage_perc_0` | `Recommended` |  | |
| 44 | + |
| 45 | +<!-- markdownlint-restore --> |
| 46 | +<!-- prettier-ignore-end --> |
| 47 | +<!-- END AUTOGENERATED TEXT --> |
| 48 | +<!-- endsemconv --> |
| 49 | + |
| 50 | +### Metric: `hw.host.energy` |
| 51 | + |
| 52 | +This metric is [recommended][MetricRecommended]. |
| 53 | + |
| 54 | +<!-- semconv metric.hw.host.energy --> |
| 55 | +<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. --> |
| 56 | +<!-- see templates/registry/markdown/snippet.md.j2 --> |
| 57 | +<!-- prettier-ignore-start --> |
| 58 | +<!-- markdownlint-capture --> |
| 59 | +<!-- markdownlint-disable --> |
| 60 | + |
| 61 | +| Name | Instrument Type | Unit (UCUM) | Description | Stability | |
| 62 | +| -------- | --------------- | ----------- | -------------- | --------- | |
| 63 | +| `hw.host.energy` | Counter | `J` | Total energy consumed by the entire physical host, in joules [1] |  | |
| 64 | + |
| 65 | +**[1]:** The overall energy usage of a host MUST be reported using the specific `hw.host.energy` and `hw.host.power` metrics **only**, instead of the generic `hw.energy` and `hw.power` described in the previous section, to prevent summing up overlapping values. |
| 66 | + |
| 67 | +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |
| 68 | +|---|---|---|---|---|---| |
| 69 | +| [`hw.id`](/docs/attributes-registry/hardware.md) | string | An identifier for the hardware component, unique within the monitored host | `win32battery_battery_testsysa33_1` | `Required` |  | |
| 70 | +| [`hw.name`](/docs/attributes-registry/hardware.md) | string | An easily-recognizable name for the hardware component | `eth0` | `Recommended` |  | |
| 71 | +| [`hw.parent`](/docs/attributes-registry/hardware.md) | string | Unique identifier of the parent component (typically the `hw.id` attribute of the enclosure, or disk controller) | `dellStorage_perc_0` | `Recommended` |  | |
| 72 | + |
| 73 | +<!-- markdownlint-restore --> |
| 74 | +<!-- prettier-ignore-end --> |
| 75 | +<!-- END AUTOGENERATED TEXT --> |
| 76 | +<!-- endsemconv --> |
| 77 | + |
| 78 | +### Metric: `hw.host.heating_margin` |
| 79 | + |
| 80 | +This metric is [recommended][MetricRecommended]. |
| 81 | + |
| 82 | +<!-- semconv metric.hw.host.heating_margin --> |
| 83 | +<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. --> |
| 84 | +<!-- see templates/registry/markdown/snippet.md.j2 --> |
| 85 | +<!-- prettier-ignore-start --> |
| 86 | +<!-- markdownlint-capture --> |
| 87 | +<!-- markdownlint-disable --> |
| 88 | + |
| 89 | +| Name | Instrument Type | Unit (UCUM) | Description | Stability | |
| 90 | +| -------- | --------------- | ----------- | -------------- | --------- | |
| 91 | +| `hw.host.heating_margin` | Gauge | `Cel` | By how many degrees Celsius the temperature of the physical host can be increased, before reaching a warning threshold on one of the internal sensors |  | |
| 92 | + |
| 93 | +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |
| 94 | +|---|---|---|---|---|---| |
| 95 | +| [`hw.id`](/docs/attributes-registry/hardware.md) | string | An identifier for the hardware component, unique within the monitored host | `win32battery_battery_testsysa33_1` | `Required` |  | |
| 96 | +| [`hw.name`](/docs/attributes-registry/hardware.md) | string | An easily-recognizable name for the hardware component | `eth0` | `Recommended` |  | |
| 97 | +| [`hw.parent`](/docs/attributes-registry/hardware.md) | string | Unique identifier of the parent component (typically the `hw.id` attribute of the enclosure, or disk controller) | `dellStorage_perc_0` | `Recommended` |  | |
| 98 | + |
| 99 | +<!-- markdownlint-restore --> |
| 100 | +<!-- prettier-ignore-end --> |
| 101 | +<!-- END AUTOGENERATED TEXT --> |
| 102 | +<!-- endsemconv --> |
| 103 | + |
| 104 | +### Metric: `hw.host.power` |
| 105 | + |
| 106 | +This metric is [recommended][MetricRecommended]. |
| 107 | + |
| 108 | +<!-- semconv metric.hw.host.power --> |
| 109 | +<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. --> |
| 110 | +<!-- see templates/registry/markdown/snippet.md.j2 --> |
| 111 | +<!-- prettier-ignore-start --> |
| 112 | +<!-- markdownlint-capture --> |
| 113 | +<!-- markdownlint-disable --> |
| 114 | + |
| 115 | +| Name | Instrument Type | Unit (UCUM) | Description | Stability | |
| 116 | +| -------- | --------------- | ----------- | -------------- | --------- | |
| 117 | +| `hw.host.power` | Gauge | `W` | Instantaneous power consumed by the entire physical host in Watts (`hw.host.energy` is preferred) [1] |  | |
| 118 | + |
| 119 | +**[1]:** The overall energy usage of a host MUST be reported using the specific `hw.host.energy` and `hw.host.power` metrics **only**, instead of the generic `hw.energy` and `hw.power` described in the previous section, to prevent summing up overlapping values. |
| 120 | + |
| 121 | +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |
| 122 | +|---|---|---|---|---|---| |
| 123 | +| [`hw.id`](/docs/attributes-registry/hardware.md) | string | An identifier for the hardware component, unique within the monitored host | `win32battery_battery_testsysa33_1` | `Required` |  | |
| 124 | +| [`hw.name`](/docs/attributes-registry/hardware.md) | string | An easily-recognizable name for the hardware component | `eth0` | `Recommended` |  | |
| 125 | +| [`hw.parent`](/docs/attributes-registry/hardware.md) | string | Unique identifier of the parent component (typically the `hw.id` attribute of the enclosure, or disk controller) | `dellStorage_perc_0` | `Recommended` |  | |
| 126 | + |
| 127 | +<!-- markdownlint-restore --> |
| 128 | +<!-- prettier-ignore-end --> |
| 129 | +<!-- END AUTOGENERATED TEXT --> |
| 130 | +<!-- endsemconv --> |
| 131 | + |
| 132 | +[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status |
| 133 | +[MetricRecommended]: /docs/general/metric-requirement-level.md#recommended |
0 commit comments