Permalink
Browse files

Renamed Kestrel Monitor => Kestrel Overall for clarity, added metadata

  • Loading branch information...
1 parent f3caad7 commit ce4f310237fbf14c4d05914efe2df40cd20fcc8b @itsderek23 itsderek23 committed Jul 17, 2012
@@ -2,7 +2,7 @@
# Created by Eric Lindvall <eric@sevenscale.com>
#
-class KestrelMonitor < Scout::Plugin
+class KestrelOverallMonitor < Scout::Plugin
OPTIONS=<<-EOS
host:
label: Host
@@ -0,0 +1,45 @@
+metadata:
+ connections_per_second:
+ units: /sec
+ precision: "1"
+ items:
+ precision: "0"
+ jvm_heap_used:
+ units: MB
+ precision: "0"
+ misses_per_second:
+ units: /sec
+ precision: "1"
+ data_read_per_second:
+ label: Data read
+ units: KB/sec
+ hits_per_second:
+ label: Hits
+ units: /sec
+ precision: "1"
+ items_per_second:
+ label: Items per second
+ units: /sec
+ precision: "1"
+ gets_per_second:
+ label: Gets
+ units: /sec
+ precision: "1"
+ sets_per_second:
+ label: Sets
+ units: /sec
+ precision: "1"
+ connections:
+ precision: "0"
+ jvm_heap_max:
+ units: MB
+ precision: "0"
+ peeks_per_second:
+ label: Peeks
+ units: /sec
+ precision: "1"
+ data_written_per_second:
+ label: Data written
+ units: KB/sec
+ precision: "1"
+
@@ -21,7 +21,7 @@ class KestrelQueueMonitor < Scout::Plugin
needs 'json'
def build_report
- report :items => gauge_stat(:items), :open_transacitons => gauge_stat(:open_transactions),
+ report :items => gauge_stat(:items), :open_transactions => gauge_stat(:open_transactions),
:mem_items => gauge_stat(:mem_items), :age => gauge_stat(:age_msec).to_f / 1000,
:waiters => gauge_stat(:waiters)
@@ -0,0 +1,12 @@
+metadata:
+ items:
+ precision: 0
+ item_rate:
+ units: /sec
+ precision: 1
+ open_transactions:
+ precision: 0
+ mem_items:
+ precision: 0
+ waiters:
+ precision: 0

0 comments on commit ce4f310

Please sign in to comment.