2019-01-28 23:09:52 +00:00
|
|
|
theme: dark / bright
|
2019-01-31 01:41:51 +00:00
|
|
|
run-charts:
|
2019-01-28 23:09:52 +00:00
|
|
|
- title: curl-latency
|
|
|
|
data:
|
|
|
|
- label: example.com
|
|
|
|
script: curl -o /dev/null -s -w '%{time_total}' http://example.com
|
|
|
|
- label: google.com
|
|
|
|
script: curl -o /dev/null -s -w '%{time_total}' http://google.com
|
2019-01-31 00:02:38 +00:00
|
|
|
refresh-rate-ms: 200
|
2019-01-30 00:21:57 +00:00
|
|
|
time-scale-sec: 1
|
2019-01-28 23:09:52 +00:00
|
|
|
style: dots/lines
|
|
|
|
position:
|
2019-01-31 00:02:38 +00:00
|
|
|
x: 0
|
|
|
|
y: 0
|
2019-01-28 23:09:52 +00:00
|
|
|
size:
|
2019-01-31 00:02:38 +00:00
|
|
|
x: 15
|
|
|
|
y: 15
|
2019-01-28 23:09:52 +00:00
|
|
|
- title: mongo-count
|
|
|
|
data:
|
|
|
|
- label: posts
|
|
|
|
script: mongo --quiet --host=localhost blog --eval "db.getCollection('post').find({}).size()" | grep 2
|
|
|
|
color: red
|
2019-01-31 00:02:38 +00:00
|
|
|
refresh-rate-ms: 200
|
|
|
|
time-scale-sec: 1
|
|
|
|
position:
|
|
|
|
x: 15
|
|
|
|
y: 0
|
|
|
|
size:
|
|
|
|
x: 15
|
|
|
|
y: 15
|