prometheus/model
beorn7 3d7cf4c274 model/histogram: Validate non-negative count and zero bucket
We have always validated that none of the bucket is negative. We
should do the same for the count of observations and the zero bucket.

Note that this was always implied in the protobuf exposition format
because a count or a zero bucket population is ignored if it is not
positive.

Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-01 16:40:41 +02:00
..
exemplar update links to openmetrics to reference the v1.0.0 release 2024-12-13 21:32:27 +00:00
histogram model/histogram: Validate non-negative count and zero bucket 2025-10-01 16:40:41 +02:00
labels fix(textparse/protobuf): metric family name corrupted by NHCB parser (#17156) 2025-09-08 17:26:41 +02:00
metadata Revert "feat(storage): add new CombinedAppender interface and compatibility layer" 2025-08-29 08:16:39 +01:00
relabel Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
rulefmt Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00
textparse refactor(textparse): Introduce Variadic options in textParse.New (#17155) 2025-09-11 10:49:42 +01:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00