MCPcopy
hub / github.com/prometheus/prometheus / IsExponentialSchemaReserved

Function IsExponentialSchemaReserved

model/histogram/generic.go:76–78  ·  view source on GitHub ↗
(s int32)

Source from the content-addressed store, hash-verified

74}
75
76func IsExponentialSchemaReserved(s int32) bool {
77 return s >= ExponentialSchemaMinReserved && s <= ExponentialSchemaMaxReserved
78}
79
80func IsValidSchema(s int32) bool {
81 return IsCustomBucketsSchema(s) || IsExponentialSchema(s)

Callers 5

AppendHistogramMethod · 0.92
AppendMethod · 0.92
AppendHistogramMethod · 0.92
AppendMethod · 0.92
IsKnownSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…