You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -597,6 +597,10 @@ Floating point numbers MUST be represented either with a decimal point or using
597
597
598
598
Arbitrary integer and floating point rendering of numbers MUST NOT be used for "quantile" and "le" label values as in section "Canonical Numbers". They MAY be used anywhere else numbers are used.
599
599
600
+
###### ComplexValues
601
+
602
+
ComplexValue is represented as structured data with fields. There MUST NOT be any whitespace around fields. See the ABNF for exact details about the format and possible values.
603
+
600
604
###### Considerations: Canonical Numbers
601
605
602
606
Numbers in the "le" label values of histograms and "quantile" label values of summary metrics are special in that they're label values, and label values are intended to be opaque. As end users will likely directly interact with these string values, and as many monitoring systems lack the ability to deal with them as first-class numbers, it would be beneficial if a given number had the exact same text representation.
The MetricPoint's value MUST be a complex data type.
949
-
950
-
Histograms with Native Buckets MUST use the integer native histogram data type.
952
+
The MetricPoint's value MUST be a ComplexValue.
951
953
952
-
The integer native histogram data type is represented as structured data with fields. There MUST NOT be any whitespace around fields.
953
-
The integer native histogram data type MUST include the Count, Sum, Schema, Zero Threshold, Zero Native Bucket value as the fields `count`, `sum`, `schema`, `zero_threshold`, `zero_count`, in this order.
954
+
The ComplexValue MUST include the Count, Sum, Schema, Zero Threshold, Zero Native Bucket value as the fields `count`, `sum`, `schema`, `zero_threshold`, `zero_count`, in this order.
954
955
955
956
If there are no negative Native Buckets, then the fields `negative_spans` and `negative_buckets` SHOULD be omitted.
956
957
If there are no positive Native Buckets, then the fields `positive_spans` and `positive_buckets` SHOULD be omitted.
0 commit comments