prometheus/web
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
The 'ToFloat' method on integer histograms currently allocates new memory
each time it is called.

This commit adds an optional *FloatHistogram parameter that can be used
to reuse span and bucket slices. It is up to the caller to make sure the
input float histogram is not used anymore after the call.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2023-12-08 10:22:59 +01:00
..
api/v1 golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
ui build(deps-dev): bump @types/node from 17.0.45 to 20.10.4 in /web/ui (#13260) 2023-12-08 09:19:48 +00:00
federate.go Enable reusing memory when converting between histogram types 2023-12-08 10:22:59 +01:00
federate_test.go Enable reusing memory when converting between histogram types 2023-12-08 10:22:59 +01:00
web.go web : use Go standard package 2023-11-08 06:37:59 +00:00
web_test.go Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336) 2023-05-22 14:37:07 +02:00