mirror of
https://github.com/prometheus/prometheus
synced 2024-12-28 09:42:22 +00:00
32f280a3cd
For one, remove unneeded methods. Then, instead of using a channel for all values, use a bufio.Scanner-like interface. This removes the need for creating a goroutine and avoids the (unnecessary) locking performed by channel sending and receiving. This will make it much easier to write new chunk implementations (like Gorilla-style encoding). |
||
---|---|---|
.. | ||
local | ||
metric | ||
remote | ||
storage.go |