prometheus/rules
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592)
* add custom buckets to native histogram model
* simple copy for custom bounds
* return errors for unsupported add/sub operations
* add test cases for string and update appendhistogram in scrape to account for new schema
* check fields which are supposed to be unused but may affect results in equals
* allow appending custom buckets histograms regardless of max schema

Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2024-02-28 14:06:43 +01:00
..
fixtures Block until all rules, both sync & async, have completed evaluating 2024-01-29 10:08:41 +01:00
alerting.go rules: call NewScratchBuilder 2024-02-26 11:45:25 +00:00
alerting_test.go Tests: use replacement DeepEquals in more places 2024-02-08 19:32:33 +00:00
group.go Standardise exemplar label as "trace_id" 2024-02-15 14:20:08 +00:00
manager.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
manager_test.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
origin.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
origin_test.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
recording.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
recording_test.go Tests: use replacement DeepEquals using go-cmp 2024-02-08 19:30:20 +00:00
rule.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00