mirror of https://github.com/prometheus/prometheus
1b8a474612
The metric clone can't be further optimised, and is a non-trivial memory allocation cost so fast path it if there's no remote writes configured. |
||
---|---|---|
.. | ||
local | ||
metric | ||
remote | ||
storage.go |