From 333daa199a0ffecab5404f85ec8a6b10c5b360b7 Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Tue, 3 Nov 2015 01:38:38 +0100 Subject: [PATCH] Fix metric prefix --- snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshot.go b/snapshot.go index 707ae30..50c5d91 100644 --- a/snapshot.go +++ b/snapshot.go @@ -19,7 +19,7 @@ func snapshotCollect(ch chan<- prometheus.Metric, r io.Reader) { } for name, value := range metrics { - mn := strings.Join(append([]string{"mesos_master"}, strings.Split(name, "/")...), "_") + mn := strings.Join(append([]string{"mesos"}, strings.Split(name, "/")...), "_") desc := prometheus.NewDesc(mn, "Exposed from /metrics/snapshot", nil, nil) ch <- prometheus.MustNewConstMetric(desc, prometheus.UntypedValue, value) }