sampler-fork/config.yml

33 lines
789 B
YAML

theme: dark
run-charts:
- title: CURL-LATENCY
data:
- label: GOOGLE
script: curl -o /dev/null -s -w '%{time_total}' http://google.com
- label: YAHOO
script: curl -o /dev/null -s -w '%{time_total}' http://yahoo.com
- label: YANDEX
script: curl -o /dev/null -s -w '%{time_total}' http://yandex.com
refresh-rate-ms: 300
time-scale-sec: 1
decimal-places: 1
legend:
labels: true
details: true
position:
x: 0
y: 0
size:
x: 15
y: 15
- title: MONGO-COUNT
data:
- label: posts
script: mongo --quiet --host=localhost blog --eval "db.getCollection('post').find({}).size()" | grep 2
color: 3
position:
x: 15
y: 0
size:
x: 15
y: 15