2019-01-31 23:40:05 +00:00
|
|
|
theme: dark
|
2019-01-31 01:41:51 +00:00
|
|
|
run-charts:
|
2019-02-01 05:07:25 +00:00
|
|
|
- title: CURL-LATENCY
|
2019-01-28 23:09:52 +00:00
|
|
|
data:
|
2019-02-01 05:07:25 +00:00
|
|
|
- label: GOOGLE
|
2019-01-28 23:09:52 +00:00
|
|
|
script: curl -o /dev/null -s -w '%{time_total}' http://google.com
|
2019-02-01 05:07:25 +00:00
|
|
|
- label: YAHOO
|
2019-01-31 23:40:05 +00:00
|
|
|
script: curl -o /dev/null -s -w '%{time_total}' http://yahoo.com
|
2019-02-01 05:07:25 +00:00
|
|
|
- label: YANDEX
|
|
|
|
script: curl -o /dev/null -s -w '%{time_total}' http://yandex.com
|
2019-02-03 03:30:45 +00:00
|
|
|
refresh-rate-ms: 200 # TODO consider remove time-scale-sec property, and adjust it automatically based on refresh-rate-ms
|
2019-01-30 00:21:57 +00:00
|
|
|
time-scale-sec: 1
|
2019-02-01 05:07:25 +00:00
|
|
|
decimal-places: 1
|
|
|
|
legend:
|
|
|
|
labels: true
|
|
|
|
details: true
|
2019-01-28 23:09:52 +00:00
|
|
|
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-02-01 05:07:25 +00:00
|
|
|
- title: MONGO-COUNT
|
2019-01-28 23:09:52 +00:00
|
|
|
data:
|
2019-02-02 04:39:34 +00:00
|
|
|
- label: POSTS
|
|
|
|
script: mongo --quiet --host=localhost blog --eval "db.getCollection('post').find({}).size()"
|
2019-01-31 00:02:38 +00:00
|
|
|
position:
|
|
|
|
x: 15
|
|
|
|
y: 0
|
|
|
|
size:
|
|
|
|
x: 15
|
|
|
|
y: 15
|