Hi,
in OpenMetrics, all metrics (metric == time series) are modelled like this:
message Metric {
repeated Label labels = 1;
repeated MetricPoint metric_points = 2;
}
However, Info metrics have another set of Labels as the value of their
MetricPoint:
message InfoValue {
repeated Label info = 1;
}
I first thought that might be a mistake, but then I found this cryptic
statement in the spec:
A MetricPoint of an Info Metric contains a LabelSet. An Info MetricPoint's
LabelSet MUST NOT have a label name which is the same as the name of a
label of the LabelSet of its Metric.
I'm curious why Info metrics are modelled that way. Is that something we
should simplify?
Fabian
--
You received this message because you are subscribed to the Google Groups
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-developers/CAPX310hQLkeVEd5rNTtVkMuHJ11N4hqsyQwnAEeyterSPn3W0w%40mail.gmail.com.