From c668d5e42c468eb70aca68307ff027354e4228fb Mon Sep 17 00:00:00 2001 From: Roland Shoemaker Date: Fri, 30 Jun 2017 12:47:48 -0700 Subject: [PATCH] Fix prometheus breakage --- monitoring/prometheus/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/prometheus/metrics.go b/monitoring/prometheus/metrics.go index a2874cb347..390ab96513 100644 --- a/monitoring/prometheus/metrics.go +++ b/monitoring/prometheus/metrics.go @@ -272,7 +272,7 @@ func (m *Histogram) Info(labelVals ...string) (uint64, float64) { } var metric prometheus.Metric if m.vec != nil { - metric = m.vec.MetricVec.With(labels).(prometheus.Metric) + metric = m.vec.With(labels).(prometheus.Metric) } else { metric = m.single }