Skip to content

Commit

Permalink
Improved quorum help message
Browse files Browse the repository at this point in the history
  • Loading branch information
kermat committed Dec 9, 2019
1 parent 14f8243 commit 4edbf7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drbd_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var (
"bm_writes": NewMetricDesc("drbd", "bm_writes", "Writes to bitmap; 1 line per res, per volume", []string{"resource", "volume"}),
"upper_pending": NewMetricDesc("drbd", "upper_pending", "Upper pending; 1 line per res, per volume", []string{"resource", "volume"}),
"lower_pending": NewMetricDesc("drbd", "lower_pending", "Lower pending; 1 line per res, per volume", []string{"resource", "volume"}),
"quorum": NewMetricDesc("drbd", "quorum", "Quorum status; 1 line per res, per volume", []string{"resource", "volume"}),
"quorum": NewMetricDesc("drbd", "quorum", "Quorum status per resource and per volume", []string{"resource", "volume"}),
"connections": NewMetricDesc("drbd", "connections", "The DRBD resource connections; 1 line per per resource, per peer_node_id", []string{"resource", "peer_node_id", "peer_role", "volume", "peer_disk_state"}),
"connections_sync": NewMetricDesc("drbd", "connections_sync", "The in sync percentage value for DRBD resource connections", []string{"resource", "peer_node_id", "volume"}),
"connections_received": NewMetricDesc("drbd", "connections_received", "KiB received per connection", []string{"resource", "peer_node_id", "volume"}),
Expand Down
2 changes: 1 addition & 1 deletion test/drbd.metrics
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ha_cluster_drbd_upper_pending{resource="1-single-1",volume="0"} 1 1234
# TYPE ha_cluster_drbd_lower_pending gauge
ha_cluster_drbd_lower_pending{resource="1-single-0",volume="0"} 2 1234
ha_cluster_drbd_lower_pending{resource="1-single-1",volume="0"} 2 1234
# HELP ha_cluster_drbd_quorum Quorum status; 1 line per res, per volume
# HELP ha_cluster_drbd_quorum Quorum status per resource and per volume
# TYPE ha_cluster_drbd_quorum gauge
ha_cluster_drbd_quorum{resource="1-single-0",volume="0"} 1 1234
ha_cluster_drbd_quorum{resource="1-single-1",volume="0"} 0 1234
Expand Down

0 comments on commit 4edbf7d

Please sign in to comment.