Skip to content

Commit 8071a29

Browse files
committed
Do not refer to the format from the data model
Signed-off-by: György Krajcsovits <[email protected]>
1 parent 4cab5f2 commit 8071a29

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

docs/specs/om/open_metrics_spec_2_0.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,15 @@ This section MUST be read together with the ABNF section. In case of disagreemen
7474

7575
#### Values
7676

77-
Metric values in OpenMetrics MUST be either numbers or complex data types.
78-
79-
Numbers MUST be either floating points or integers. Note that ingestors of the format MAY only support float64. The non-real values NaN, +Inf and -Inf MUST be supported. NaN MUST NOT be considered a missing value, but it MAY be used to signal a division by zero.
80-
81-
Complex data types MUST contain all information necessary to recreate a sample of a Metric Type, with the exception of Start Timestamp and Exemplars.
82-
83-
List of complex data types:
77+
Metric values in OpenMetrics MUST be either Number or ComplexValue.
8478

85-
- Integer counter native histograms for the Metric Type Histogram.
86-
- Integer gauge native histograms for the Metric Type GaugeHistogram.
79+
##### Number
8780

88-
Metric values in OpenMetrics MUST be either Number or ComplexValue.
81+
Number value MUST be either floating point or integer. Note that ingestors of the format MAY only support float64. The non-real values NaN, +Inf and -Inf MUST be supported. NaN value MUST NOT be considered a missing value, but it MAY be used to signal a division by zero.
8982

90-
[Number](#numbers) value MUST be either floating point or integer. Note that ingestors of the format MAY only support float64. The non-real values NaN, +Inf and -Inf MUST be supported. NaN value MUST NOT be considered a missing value, but it MAY be used to signal a division by zero.
83+
##### ComplexValue
9184

92-
ComplexValue MUST contain all information necessary to recreate a sample value for Metric within the MetricFamily
85+
ComplexValue MUST contain all information necessary to recreate a sample value for Metric within the MetricFamily.
9386

9487
The following Metric Types MUST use ComplexValue for Metric Values:
9588

0 commit comments

Comments
 (0)