Dashboard: diff histogram totals per node #73

Merged
jcoffey-dev merged 1 commits from fix/histogram-deltas-per-node into main 2026-09-30 18:56:39 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev acbf6f7fec Dashboard: diff histogram totals per node
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m23s
Each node stores its histograms as running totals since it started.
deltaHistograms lined up every node's samples by time and diffed them in
one list, so in a cluster it subtracted one node's total from another's.
The timing averages came out wrong: on production the delivery attempt
time read 14.7 s over the last hour ("1 stage running slow") when the
nodes' own figures give 0.7 s.

Samples now carry nodeId (inbuxa-server, x:Metric), and totals are diffed
per metric and node. Without nodeId (older servers, single node) it works
as before.
2026-09-30 11:40:21 -07:00