Limit grafana for zk to zk04-06
We have replaced zk01-03 with zk04-06. We are less interested in the
data for 01-03 on the dashboard now so limit what the dashboard renders
to 04-06.
@@ -255,7 +255,7 @@ dashboard:
- title: ZooKeeper Average Latency
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_avg_latency, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_avg_latency, 3)
yaxes:
- label: time
format: ms
@@ -264,7 +264,7 @@ dashboard:
- title: ZooKeeper Approximate Data Size
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_approximate_data_size, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_approximate_data_size, 3)
yaxes:
- label: size
format: bytes
@@ -273,25 +273,25 @@ dashboard:
- title: ZooKeeper ZNodes
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_znode_count, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_znode_count, 3)
type: graph
- title: ZooKeeper Watches
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_watch_count, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_watch_count, 3)
type: graph
- title: ZooKeeper Ephemeral Nodes
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_ephemerals_count, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_ephemerals_count, 3)
type: graph
- title: ZooKeeper Outstanding Requests
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_outstanding_requests, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_outstanding_requests, 3)
type: graph
- title: ZooKeeper Followers
span: 4
targets:
- - target: aliasByNode(stats.gauges.zk.*.zk_followers, 3)
+ - target: aliasByNode(stats.gauges.zk.zk0[4-6].zk_followers, 3)
type: graph
