From a48ab060a84036bb0e9564e6dddd3b220e02bcf2 Mon Sep 17 00:00:00 2001 From: Vebjorn Ljosa Date: Thu, 17 Mar 2016 11:41:04 -0400 Subject: [PATCH] Comment on `default` pool name --- plugins/inputs/couchbase/couchbase.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/inputs/couchbase/couchbase.go b/plugins/inputs/couchbase/couchbase.go index 7135be5a5..c16692471 100644 --- a/plugins/inputs/couchbase/couchbase.go +++ b/plugins/inputs/couchbase/couchbase.go @@ -62,6 +62,9 @@ func (r *Couchbase) gatherServer(addr string, acc telegraf.Accumulator) error { if err != nil { return err } + // `default` is the only possible pool name. It's a + // placeholder for a possible future Couchbase feature. See + // http://stackoverflow.com/a/16990911/17498. pool, err := client.GetPool("default") if err != nil { return err