Skip to content

Commit

Permalink
Merge pull request #10 from JoeBmc/master
Browse files Browse the repository at this point in the history
Changes in readme suggested by Ravee.
  • Loading branch information
gokumar authored Dec 8, 2016
2 parents 0ef1eb0 + ae3b2e9 commit 3dd2b07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In order for the plugin to collect statistics from Storm you need to ensure that
|STORM_CLUSTER_SLOTS_TOTAL |Total number of available worker slots on the cluster. |
|STORM_CLUSTER_SLOTS_USED |Number of worker slots used on the cluster. |
|STORM_CLUSTER_TASKS_TOTAL |Total number of tasks on the cluster. |
|STORM_CLUSTER_SUPERVISORS |Total number of supervisors on the cluster. |
|STORM_CLUSTER_SUPERVISORS |Total number of supervisors on the cluster. |
|STORM_TOPOLOGY_TASKS_TOTAL |Number of Tasks per toplogy. |
|STORM_TOPOLOGY_WORKERS_TOTAL |Number of Workers per topolgy. |
|STORM_TOPOLOGY_EXECUTORS_TOTAL |Number of executors per topology. |
Expand All @@ -54,16 +54,16 @@ In order for the plugin to collect statistics from Storm you need to ensure that
|STORM_BOLT_CAPACITY |Number of messages executed * average execute latency per second. |
|STORM_BOLT_EXECUTELATENCY |Average time to run the execute method of the bolt per second. |
|STORM_BOLT_PROCESSLATENCY |Average time of the bolt to ack a message after it was received per second. |
|STORM_BOLT_LASTERROR |1 if an error / exception was generated, 0 otherwise. |
|STORM_BOLT_LASTERROR |0-No error, 1-An error or exception occured. |
|STORM_SPOUT_EXECUTORS |Number of executors for the spout. |
|STORM_SPOUT_TASKS |Total number of tasks for the spout. |
|STORM_SPOUT_EMITTED |Number of messages emitted per spout per second. |
|STORM_SPOUT_ACKED |Number of messages acked per spout per second. |
|STORM_SPOUT_FAILED |Number of messages failed per spout per second. |
|STORM_SPOUT_COMPLETELATENCY |Total latency for processing the message per spout per second. |
|STORM_SPOUT_LASTERROR |1 if an error / exception was generated, 0 otherwise. |
|STORM_SPOUT_LASTERROR |0-No error, 1-An error or exception occured. |

LASTERROR value is received as nil or the error/exceptions string. We use the value 1 if lasterror is not nil and the field errorLapsedSecs is less than poll interval. Else the value is 0. This can be used in creating alerts for the error occured.
For STORM_BOLT_LASTERROR and STORM_SPOUT_LASTERROR, 1 is used if there was an error, and the value for the errorLapsedSecs is less than the polling interval.

### Events Generated

Expand Down

0 comments on commit 3dd2b07

Please sign in to comment.