You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2015/11/20 23:26:27 UTC

[02/15] storm git commit: Update rest api doc for supervisor summary

Update rest api doc for supervisor summary


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/dda1c32d
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/dda1c32d
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/dda1c32d

Branch: refs/heads/master
Commit: dda1c32d6b6c39c7e3027fab81f2cfce5f9927e7
Parents: 400f215
Author: zhuol <zh...@yahoo-inc.com>
Authored: Wed Nov 11 19:50:16 2015 -0600
Committer: zhuol <zh...@yahoo-inc.com>
Committed: Thu Nov 19 12:35:22 2015 -0600

----------------------------------------------------------------------
 docs/documentation/ui-rest-api.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/dda1c32d/docs/documentation/ui-rest-api.md
----------------------------------------------------------------------
diff --git a/docs/documentation/ui-rest-api.md b/docs/documentation/ui-rest-api.md
index e1c68c1..f2d36a9 100644
--- a/docs/documentation/ui-rest-api.md
+++ b/docs/documentation/ui-rest-api.md
@@ -120,6 +120,10 @@ Response fields:
 |uptimeSeconds| Integer| Shows how long the supervisor is running in seconds|
 |slotsTotal| Integer| Total number of available worker slots for this supervisor|
 |slotsUsed| Integer| Number of worker slots used on this supervisor|
+|totalMem| Double| Total memory capacity on this supervisor|
+|totalCpu| Double| Total CPU capacity on this supervisor|
+|usedMem| Double| Used memory capacity on this supervisor|
+|usedCpu| Double| Used CPU capacity on this supervisor|
 
 Sample response:
 
@@ -132,7 +136,11 @@ Sample response:
             "uptime": "5m 58s",
             "uptimeSeconds": 358,
             "slotsTotal": 4,
-            "slotsUsed": 3
+            "slotsUsed": 3,
+            "totalMem": 3000,
+            "totalCpu": 400,
+            "usedMem": 1280,
+            "usedCPU": 160
         }
     ]
 }