mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
10a82f87fd
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> |
||
---|---|---|
.. | ||
fixtures | ||
alerting_test.go | ||
alerting.go | ||
group.go | ||
manager_test.go | ||
manager.go | ||
origin_test.go | ||
origin.go | ||
recording_test.go | ||
recording.go | ||
rule.go |