@@ -41,6 +41,8 @@ aliases: [/docs/reference/specification/metrics/datamodel]
41
41
+ [ ExponentialHistogram: Bucket inclusivity] ( #exponentialhistogram-bucket-inclusivity )
42
42
* [ Summary (Legacy)] ( #summary-legacy )
43
43
- [ Exemplars] ( #exemplars )
44
+ - [ Data point flags] ( #data-point-flags )
45
+ * [ No recorded value] ( #no-recorded-value )
44
46
- [ Single-Writer] ( #single-writer )
45
47
- [ Temporality] ( #temporality )
46
48
- [ Resets and Gaps] ( #resets-and-gaps )
@@ -412,6 +414,7 @@ in OTLP consist of the following:
412
414
- Times are specified in Value is UNIX Epoch time in nanoseconds since
413
415
` 00:00:00 UTC on 1 January 1970 `
414
416
- (optional) a set of examplars (see [ Exemplars] ( #exemplars ) ).
417
+ - (optional) Data point flags (see [ Data point flags] ( #data-point-flags ) ).
415
418
416
419
The aggregation temporality is used to understand the context in which the sum
417
420
was calculated. When the aggregation temporality is "delta", we expect to have
@@ -447,6 +450,7 @@ in OTLP represents a sampled value at a given time. A Gauge stream consists of:
447
450
first possible moment a measurement could be recorded. This is commonly
448
451
set to the timestamp when a metric collection system started.
449
452
- (optional) a set of examplars (see [ Exemplars] ( #exemplars ) ).
453
+ - (optional) Data point flags (see [ Data point flags] ( #data-point-flags ) ).
450
454
451
455
In OTLP, a point within a Gauge stream represents the last-sampled event for a
452
456
given time window.
@@ -493,6 +497,7 @@ Histograms consist of the following:
493
497
bucket.
494
498
- A count of the number of observations that fell within this bucket.
495
499
- (optional) a set of examplars (see [ Exemplars] ( #exemplars ) ).
500
+ - (optional) Data point flags (see [ Data point flags] ( #data-point-flags ) ).
496
501
497
502
Like Sums, Histograms also define an aggregation temporality. The picture above
498
503
denotes Delta temporality where accumulated event counts are reset to zero after reporting
@@ -995,6 +1000,27 @@ sum.
995
1000
For Gauges, when an exemplar exists, its value was seen at some point within
996
1001
the gauge interval for the same source.
997
1002
1003
+ ## Data point flags
1004
+
1005
+ ** Status** : [ Stable] ( ../document-status.md )
1006
+
1007
+ Certain flags can be applied to denote special data points. A flag is a
1008
+ boolean property which can either be set to ` true ` or ` false ` . Currently the
1009
+ following flag is supported.
1010
+
1011
+ ### No recorded value
1012
+
1013
+ If this flag is set on a data point, then this data point reflects explicitly
1014
+ missing data in a series. It serves as an indicator that a previously present
1015
+ timeseries was removed and that this timeseries SHOULD NOT be returned in
1016
+ queries after such an indicator was received. It is an equivalent of the
1017
+ [ Prometheus staleness marker] ( https://prometheus.io/docs/prometheus/2.52/querying/basics/#staleness ) .
1018
+
1019
+ If this flag is set, all other data point properties except attributes, time
1020
+ stamps, or time windows, SHOULD be ignored.
1021
+
1022
+ This flag defaults to ` false ` .
1023
+
998
1024
## Single-Writer
999
1025
1000
1026
** Status** : [ Stable] ( ../document-status.md )
0 commit comments