openmetrics_parser/public/types.rs
1use crate::{
2 MetricFamily, OpenMetricsType, OpenMetricsValue, PrometheusType, PrometheusValue, Sample,
3};
4
5pub type PrometheusMetricFamily = MetricFamily<PrometheusType, PrometheusValue>;
6pub type OpenMetricsMetricFamily = MetricFamily<OpenMetricsType, OpenMetricsValue>;
7pub type PrometheusSample = Sample<PrometheusValue>;
8pub type OpenMetricsSample = Sample<OpenMetricsValue>;