mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
* grafana: count the failure that creates an EC shard copy failure series The EC shard copy failure counter exports a collection and reason pair only once a copy fails, so rate() saw that first value as a baseline and never showed it. The panel now shows failures per rate interval and adds the earliest value of a series that did not exist one interval ago. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * grafana: count a new EC shard copy failure series from its last value increase() extrapolates the increments of a series that appears inside the window, and an instant offset selector loses an old series across a scrape gap, so the panel could add a whole counter as new failures. A series with no sample in the day before the window now shows its last value; every other series shows increase(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * grafana: count the first EC shard copy failure after a restart A restarted volume server exports a failure series again only at its first failure, so when the same labels had a sample earlier in the day the window held only the new counter's samples and increase() missed that failure. A series whose lowest value in the window is below its last value before the window has been reset since, and now shows its last value; a series back from a scrape gap keeps its value and still uses increase(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>