Permalink
Browse files

remove old metric, reordering railgun graphs

  • Loading branch information...
fabiokung committed Feb 22, 2012
1 parent 841a336 commit 6097b865b38daaad9382367655e2b435d655ab45
Showing with 16 additions and 20 deletions.
  1. +2 −6 src/pulse/def.clj
  2. +14 −14 src/pulse/web.clj
View
@@ -760,7 +760,8 @@
(defstat railgun-unhandled-exceptions-per-minute
(per-minute
- (fn [evt] (and (cloud? evt) (k? evt :railgun) (k? evt :exception) (not (k? evt :site)) (not (k? evt :reraise)) (not (k? evt :trapping))))))
+ (fn [evt] (and (cloud? evt) (k? evt :railgun) (k? evt :exception)
+ (not (k? evt :site)) (not (k? evt :reraise)) (not (k? evt :trapping))))))
(defstat railgun-pings-per-minute
(per-minute
@@ -786,10 +787,6 @@
(per-minute
(fn [evt] (and (railgun? evt) (k? evt :bus) (k? evt :message) (kv? evt :status "invalid")))))
-(defstat railgun-runtime-bus-abondoned-per-minute
- (per-minute
- (fn [evt] (and (railgun? evt) (k? evt :bus) (k? evt :queue) (k? evt :warning) (k? evt :abandoning_pending_messages)))))
-
(defstat railgun-runtime-bus-failed-pushes-per-minute
(per-minute
(fn [evt] (and (railgun? evt) (k? evt :bus) (k? evt :pool) (k? evt :skipping_failed_connection)))))
@@ -1396,7 +1393,6 @@
railgun-runtime-bus-processing-per-minute
railgun-runtime-bus-expired-per-minute
railgun-runtime-bus-invalid-per-minute
- railgun-runtime-bus-abondoned-per-minute
railgun-runtime-bus-failed-pushes-per-minute
railgun-runtime-bus-failed-lpops-per-minute
View
@@ -165,6 +165,19 @@
["railgun s3c req/min" "railgun-s3-canary-requests-per-minute"]
["railgun s3c err/min" "railgun-s3-canary-errors-per-minute"]
["railgun s3c time" "railgun-s3-canary-time-mean"]]
+ [["railgun excp/min" "railgun-unhandled-exceptions-per-minute"]
+ ["railgun init/min" "railgun-inits-per-minute"]
+ ["railgun trap/min" "railgun-traps-per-minute"]
+ ["railgun exit/min" "railgun-exits-per-minute"]
+ ["railgun ping/min" "railgun-pings-per-minute"]
+ ["railgun beat/min" "railgun-heartbeats-per-minute"]
+ ["railgun evt/sec" "railgun-events-per-second"]]
+ [["bus push fails/min" "railgun-runtime-bus-failed-pushes-per-minute"]
+ ["bus lpops fails/min" "railgun-runtime-bus-failed-lpops-per-minute"]
+ ["bus pub/min" "railgun-runtime-bus-publishes-per-minute"]
+ ["bus processing/min" "railgun-runtime-bus-processing-per-minute"]
+ ["bus expired/min" "railgun-runtime-bus-expired-per-minute"]
+ ["bus invalid/min" "railgun-runtime-bus-invalid-per-minute"]]
[["railgun r10/min" "railgun-r10-per-minute"]
["railgun r11/min" "railgun-r11-per-minute"]
["railgun r12/min" "railgun-r12-per-minute"]
@@ -175,20 +188,7 @@
["railgun r12 app/min" "railgun-r12-apps-per-minute"]
["railgun r14 app/min" "railgun-r14-apps-per-minute"]
["railgun r15 app/min" "railgun-r15-apps-per-minute"]]
- [["railgun init/min" "railgun-inits-per-minute"]
- ["railgun trap/min" "railgun-traps-per-minute"]
- ["railgun exit/min" "railgun-exits-per-minute"]
- ["railgun excp/min" "railgun-unhandled-exceptions-per-minute"]
- ["railgun ping/min" "railgun-pings-per-minute"]
- ["railgun beat/min" "railgun-heartbeats-per-minute"]
- ["railgun evt/sec" "railgun-events-per-second"]]
- [["bus pub/min" "railgun-runtime-bus-publishes-per-minute"]
- ["bus processing/min" "railgun-runtime-bus-processing-per-minute"]
- ["bus expired/min" "railgun-runtime-bus-expired-per-minute"]
- ["bus invalid/min" "railgun-runtime-bus-invalid-per-minute"]
- ["bus abandoned/min" "railgun-runtime-bus-abondoned-per-minute"]
- ["bus push fails/min" "railgun-runtime-bus-failed-pushes-per-minute"]
- ["bus lpops fails/min" "railgun-runtime-bus-failed-lpops-per-minute"]]])
+ ])
(def graphs-psmgr
[[["psmgr evt/sec" "psmgr-events-per-second"]]])

0 comments on commit 6097b86

Please sign in to comment.