sampler-fork/config.yml

87 lines
2.2 KiB
YAML
Raw Normal View History

runcharts:
2019-02-21 04:53:59 +00:00
- title: SEARCH ENGINE RESPONSE TIME (sec)
position:
w: 0
h: 0
size:
2019-02-25 00:37:57 +00:00
w: 40
h: 18
2019-02-21 04:53:59 +00:00
scale: 3
items:
- label: GOOGLE
script: curl -o /dev/null -s -w '%{time_total}' https://www.google.com
- label: YAHOO
script: curl -o /dev/null -s -w '%{time_total}' https://search.yahoo.com
- label: BING
script: curl -o /dev/null -s -w '%{time_total}' https://www.bing.com
- title: SEARCH ENGINE RESPONSE TIME 2 (sec)
refresh-rate-ms: 5000
position:
2019-02-25 00:37:57 +00:00
w: 40
2019-02-21 04:53:59 +00:00
h: 0
size:
2019-02-25 00:37:57 +00:00
w: 20
h: 18
2019-02-21 04:53:59 +00:00
legend:
enabled: true
details: false
items:
- label: GOOGLE
script: curl -o /dev/null -s -w '%{time_total}' https://www.google.com
- label: YAHOO
script: curl -o /dev/null -s -w '%{time_total}' https://search.yahoo.com
- label: BING
script: curl -o /dev/null -s -w '%{time_total}' https://www.bing.com
- title: MONGO COLLECTIONS COUNT
position:
2019-02-25 00:37:57 +00:00
w: 21
h: 18
2019-02-21 04:53:59 +00:00
size:
2019-02-25 00:37:57 +00:00
w: 19
h: 13
2019-02-21 04:53:59 +00:00
scale: 0
items:
- label: ACTIVE
script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'ACTIVE'}).itcount()"
- label: INACTIVE
script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'INACTIVE'}).itcount()"
2019-02-19 04:07:32 +00:00
barcharts:
2019-02-23 16:27:22 +00:00
- title: EVENTS BY STATUS
2019-02-21 04:53:59 +00:00
refresh-rate-ms: 1000
position:
w: 0
2019-02-25 00:37:57 +00:00
h: 18
2019-02-21 04:53:59 +00:00
size:
2019-02-25 00:37:57 +00:00
w: 21
h: 13
2019-02-21 04:53:59 +00:00
scale: 0
items:
2019-02-23 16:27:22 +00:00
- label: NEW
2019-02-21 04:53:59 +00:00
script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'ACTIVE'}).itcount()"
2019-02-23 16:27:22 +00:00
- label: TRIGGERED
2019-02-21 04:53:59 +00:00
script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'INACTIVE'}).itcount()"
2019-02-23 16:27:22 +00:00
- label: IN_PROCESS
2019-02-21 04:53:59 +00:00
script: echo 0
2019-02-23 16:27:22 +00:00
- label: FINISHED
2019-02-21 04:53:59 +00:00
script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'ACTIVE'}).itcount()"
2019-02-23 16:27:22 +00:00
- label: FAILED
2019-02-21 04:53:59 +00:00
script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'INACTIVE'}).itcount()"
2019-02-17 23:00:00 +00:00
asciiboxes:
2019-02-23 16:27:22 +00:00
- title: LOCAL TIME
2019-02-21 04:53:59 +00:00
position:
2019-02-25 00:37:57 +00:00
w: 40
h: 18
2019-02-21 04:53:59 +00:00
size:
2019-02-25 00:37:57 +00:00
w: 20
h: 6
2019-02-21 04:53:59 +00:00
script: date +%r
2019-02-23 16:27:22 +00:00
- title: UTC TIME
2019-02-21 04:53:59 +00:00
position:
2019-02-25 00:37:57 +00:00
w: 40
h: 24
2019-02-21 04:53:59 +00:00
size:
2019-02-25 00:37:57 +00:00
w: 20
h: 7
2019-02-23 16:27:22 +00:00
script: env TZ=UTC date +%r
2019-02-21 04:53:59 +00:00
font: 3d