forked from Crapworks/ceph-dash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.influxdb.json
24 lines (23 loc) · 980 Bytes
/
config.influxdb.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"ceph_config": "/etc/ceph/ceph.conf",
"influxdb": {
"uri": "influxdb://myinfluxdb.server.com:8086/mydatabase",
"metrics": [
{
"queries" : [
"SELECT mean(value) FROM \"ceph.cluster\" WHERE hostname =~ /ceph-mon-.*/ AND type = 'read_bytes_sec' AND time > now() - 15m GROUP BY time(10s);",
"SELECT mean(value) FROM \"ceph.cluster\" WHERE hostname =~ /ceph-mon-.*/ AND type = 'write_bytes_sec' AND time > now() - 15m GROUP BY time(10s);"
],
"labels": [ "Read", "Write" ],
"mode": "byteRate"
},
{
"queries" : [
"SELECT mean(value) FROM \"ceph.cluster\" WHERE hostname =~ /ceph-mon-.*/ AND type = 'op_per_sec' AND time > now() - 15m GROUP BY time(10s);"
],
"labels": [ "IOPS" ],
"colors": [ "#5bc0de" ]
}
]
}
}