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
fix(om2): make gauge histogram distinguishable from one line
Change count and sum to `gcount` and `gsum` in the exposition for gauge
histograms. This mirrors OM 1.0 suffixes.
There's too many complications if we don't do this.
The only downside is that the histogram functions in PromQL don't have a
gauge version, but I think we can live with that. Or even add those
later if anyone needs them - which I doubt.
Also fix that gauge histograms model currently doesn't have start
timestamp, but our text format seemed to conflict with this.
Signed-off-by: György Krajcsovits <[email protected]>
GaugeHistogram Samples with Classic Buckets follow the same syntax as Histogram Samples with Classic Buckets.
1056
+
GaugeHistogram Samples with Classic Buckets follow the same syntax as Histogram Samples with Classic Buckets, except that the Count and Sum are exposed as the fields `gcount` and `gsum` and GaugeHistograms do not have Start Timestamp.
1052
1057
1053
1058
An example of a Metric with no labels, and one Sample value with no timestamp, no Start Timestamp, and no Exemplars:
GaugeHistogram Samples with Native Buckets follow the same syntax as Histogram Samples with Native Buckets.
1067
+
GaugeHistogram Samples with Native Buckets follow the same syntax as Histogram Samples with Native Buckets, except that the Count and Sum are exposed as the fields `gcount` and `gsum` and GaugeHistograms do not have Start Timestamp.
1063
1068
1064
1069
An example of a Metric with no labels, and one Sample value with no timestamp, no Start Timestamp, and no Exemplars:
#### GaugeHistogram with both Classic and Native buckets
1072
1077
1073
-
GaugeHistogram Samples with both Classic and Native Buckets follow the same syntax as Histogram Samples with both Classic and Native Buckets.
1078
+
GaugeHistogram Samples with both Classic and Native Buckets follow the same syntax as Histogram Samples with both Classic and Native Buckets, except that the Count and Sum are exposed as the fields `gcount` and `gsum` and GaugeHistograms do not have Start Timestamp.
1074
1079
1075
1080
#### Unknown
1076
1081
1077
-
The Sample's value MUST be a Number.
1082
+
The Sample's value MUST be a Number or a CompositeValue.
1078
1083
1079
1084
There are no recommended suffixes for the MetricFamily name for a MetricFamily of Type Unknown.
0 commit comments