Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-use the stat calc funs in riak_core
Use the cached riak_pipe stats for legacy stats When a broken stat is detected, register it. Fix bug where stats endpoints were calculating _all_ riak_kv stats Since adding many more stats, and most of the infrastructure for ad hoc querying of stats, the stat calculation code for the (not yet legacy) endpoints was calculating all stats for riak_kv. As there are about (ring_size * vnode stats) + (fsm stages * fsm stats) more stats now, this calculation, understandbly, took a long time. This patch instead only calculates the minimum subset of stats needed to support the (not yet legacy) stats endpoints.
- Loading branch information
Showing
2 changed files
with
146 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters