Merge pull request #2568 from weaveworks/rename-conn-term-prom-metric

Rename weave_connection_termination_count metric
This commit is contained in:
Bryan Boreham authored and GitHub committed 2016-11-01 18:02:55 +00:00
commit cfff8ee8be
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ var metrics []metric = []metric{
ch <- intGauge(desc, len(s.Router.Connections)-established, "non-established")
ch <- intGauge(desc, established, "established")
}},
{desc("weave_connection_termination_count", "Number of peer-to-peer connections terminated."),
{desc("weave_connection_terminations_total", "Number of peer-to-peer connections terminated."),
func(s WeaveStatus, desc *prometheus.Desc, ch chan<- prometheus.Metric) {
ch <- uint64Counter(desc, uint64(s.Router.TerminationCount))
}},