prometheus/model/histogram
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
..
float_histogram.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
float_histogram_test.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
generic.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
generic_test.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
histogram.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
histogram_test.go Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
test_utils.go Move histogram validation code to model/histogram 2023-11-03 16:17:24 +02:00