prometheus/util
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
..
annotations Add custom buckets to native histogram model (#13592) 2024-02-28 14:06:43 +01:00
documentcli promtool docs: write flags between backtits in help 2023-07-15 22:32:59 +02:00
fmtutil golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
gate Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
httputil Use github.com/klauspost/compress for gzip and zlib 2024-02-22 17:08:15 +00:00
jsonutil Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
logging lint: Adjust to the lint warnings raised by current versions of golint-ci 2023-04-19 17:10:10 +02:00
osutil Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
pool Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
runtime util/runtime: Ignore nolintlint failure on OSX (#13546) 2024-02-06 13:53:37 +01:00
runutil Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
stats Update exp package (#12650) 2023-09-21 22:53:51 +02:00
strutil Implement SanitizeLabelName and Full variant 2023-02-03 15:28:33 +00:00
teststorage Add a feature flag to control native histogram ingestion (#11253) 2022-09-14 17:38:34 +05:30
testutil utils: add DeepEqual replacement using go-cmp 2024-02-08 19:30:20 +00:00
treecache ci(lint): enable nolintlint and remove redundant comments (#12926) 2023-10-31 12:35:13 +01:00
zeropool golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00