Undertow mod_cluster CLI: Display node's Elected, Read,
Transferred, Connected stats
------------------------------------------------------------------------------------
Key: WFLY-5043
URL:
https://issues.jboss.org/browse/WFLY-5043
Project: WildFly
Issue Type: Feature Request
Components: Web (Undertow)
Reporter: Michal Karm Babacek
Assignee: Stuart Douglas
Labels: mod_cluster
Fix For: 10.0.0.Beta1
As a follow up to JBEAP-215, this bug report is a member of a series addressing crucial
CLI management capabilities.
h3. Implement & Display node's Elected, Read, Transferred and Connected stats
At the moment, this is all there is to see:
{noformat}
"balancer" => {
"qa_balancer" => {"node" => {"worker-2" => {
"load" => 89,
"status" => "NODE_UP",
"context" => {"/clusterbench" => {
"requests" => 0,
"status" => "enabled"
}}
}}},
...
{noformat}
Furthermore, at a glance, it appears that a part of the needed stats is a mere
placeholder at the moment:
[
NodeStats.java|https://github.com/undertow-io/undertow/blob/master/core/s...]
h3. Call to action
Display the aforementioned stats for each node. Let me set priorities according to what
is really used in the battlefield:
* {color:red}Critical{color}: *Elected* (it is often correlated with *Load* during load
metric *history* and *capacity* tuning)
* {color:green}Minor{color}: *Read*
* {color:green}Minor{color}: *Transferred*
* {color:green}Minor{color}: *Connected*