prometheus/web
beorn7 630bcb494b storage: Use separate sample types for histogram vs. float
Previously, we had one “polymorphous” `sample` type in the `storage`
package. This commit breaks it up into `fSample`, `hSample`, and
`fhSample`, each still implementing the `tsdbutil.Sample` interface.

This reduces allocations in `sampleRing.Add` but inflicts the penalty
of the interface wrapper, which makes things worse in total.

This commit therefore just demonstrates the step taken. The next
commit will tackle the interface overhead problem.

Signed-off-by: beorn7 <beorn@grafana.com>
2023-04-13 19:25:24 +02:00
..
api/v1 promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
ui [WebUI/ScrapePoolList] Case-insensitive search of "Scrape Pools" (#12207) 2023-04-02 11:37:58 +02:00
federate.go storage: Use separate sample types for histogram vs. float 2023-04-13 19:25:24 +02:00
federate_test.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
web.go Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
web_test.go /-/{healthy,ready}/ respond to HEAD (#11160) 2022-08-16 21:06:26 +02:00