Struct openmetrics_parser::MetricFamily [−][src]
pub struct MetricFamily<TypeSet, ValueType> {
pub family_name: String,
pub family_type: TypeSet,
pub help: String,
pub unit: String,
// some fields omitted
}
Expand description
A MetricFamily is a collection of metrics with the same type, name, and label names https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#metricfamily A MetricFamily MAY have zero or more Metrics. A MetricFamily MUST have a name, HELP, TYPE, and UNIT metadata. Every Metric within a MetricFamily MUST have a unique LabelSet.
Fields
family_name: String
family_type: TypeSet
help: String
unit: String