Constant rama::telemetry::opentelemetry::semantic_conventions::metric::HW_STATUS
pub const HW_STATUS: &'static str;
Expand description
§Description
Operational status: 1
(true) or 0
(false) for each of the possible states
§Notes
hw.status
is currently specified as an UpDownCounter but would ideally be represented using a StateSet as defined in OpenMetrics. This semantic convention will be updated once StateSet is specified in OpenTelemetry. This planned change is not expected to have any consequence on the way users query their timeseries backend to retrieve the values of hw.status
over time
§Metadata
Instrument: | updowncounter |
Unit: | 1 |
Status: | Experimental |
§Attributes
Name | Requirement |
---|---|
crate::attribute::HW_ID | Required |
crate::attribute::HW_NAME | Recommended |
crate::attribute::HW_PARENT | Recommended |
crate::attribute::HW_STATE | Required |
crate::attribute::HW_TYPE | Required |