From aa86cbb9eefd3020cedc8b85f435f69c549a569d Mon Sep 17 00:00:00 2001
From: Ed Schouten <ed@kumina.nl>
Date: Tue, 20 Dec 2016 13:54:00 +0100
Subject: [PATCH] On second thought, only scrape per-user stats.

---
 dovecot_exporter.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dovecot_exporter.go b/dovecot_exporter.go
index b2f6f24..7f04c2a 100644
--- a/dovecot_exporter.go
+++ b/dovecot_exporter.go
@@ -21,7 +21,7 @@ var (
 		"Whether scraping Dovecot's metrics was successful.",
 		[]string{"scope"},
 		nil)
-	dovecotScopes = [...]string{"domain", "ip", "user"}
+	dovecotScopes = [...]string{"user"}
 )
 
 func CollectFromReader(file io.Reader, ch chan<- prometheus.Metric) error {
-- 
GitLab