mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix reviews
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
This commit is contained in:
parent
85e6686f84
commit
4e206c7c77
|
@ -86,11 +86,10 @@ const (
|
||||||
CounterReset CounterResetHeader = 0b10000000
|
CounterReset CounterResetHeader = 0b10000000
|
||||||
// NotCounterReset means there was definitely no counter reset when cutting this chunk.
|
// NotCounterReset means there was definitely no counter reset when cutting this chunk.
|
||||||
NotCounterReset CounterResetHeader = 0b01000000
|
NotCounterReset CounterResetHeader = 0b01000000
|
||||||
// GaugeType means the histograms represent a gauge instead of counters, hence we cannot make
|
// GaugeType means this chunk contains a gauge histogram, where counter resets do not happen.
|
||||||
// sense of counter reset in this case.
|
|
||||||
GaugeType CounterResetHeader = 0b11000000
|
GaugeType CounterResetHeader = 0b11000000
|
||||||
// UnknownCounterReset means we cannot say if this was a counter reset or not and not sure
|
// UnknownCounterReset means we cannot say if this chunk was created due to a counter reset or not.
|
||||||
// if this is a gauge type histogram or not.
|
// An explicit counter reset detection needs to happen during query time.
|
||||||
UnknownCounterReset CounterResetHeader = 0b00000000
|
UnknownCounterReset CounterResetHeader = 0b00000000
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue