Skip to content

Commit 2c9d9ae

Browse files
committed
MUST NOT be interleaved
1 parent 16b34c2 commit 2c9d9ae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/specs/om/open_metrics_spec_2_0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,8 @@ foo_total 17.0 1520879607.789 st@1520430000.123 # {trace_id="KOO5S4vxi0o"} 0.67
832832

833833
There are no recommended suffixes for the MetricFamily name for a MetricFamily of Type StateSet.
834834

835+
StateSet MetricGroups MUST NOT be interleaved.
836+
835837
StateSets MUST have one Metric per State in the StateSet MetricGroup. Each State's Metric MUST have a label with the MetricFamily name as the label name and the State name as the label value. The Metric Sample's Value MUST be 1 if the State is true and MUST be 0 if the State is false.
836838

837839
An example with the states "a", "bb", and "ccc" in which only the value bb is enabled and the metric name is foo:

0 commit comments

Comments
 (0)