From 815c647bea308b7ddf46e2c4441fc1383cf658af Mon Sep 17 00:00:00 2001 From: Michael Baird Date: Thu, 18 May 2017 11:06:14 -0500 Subject: [PATCH] missing "." in StatsD prefix --- datadog/datadog.go | 2 +- datadog/datadog_test.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/datadog/datadog.go b/datadog/datadog.go index 74667f77e..2da6af8bd 100644 --- a/datadog/datadog.go +++ b/datadog/datadog.go @@ -29,7 +29,7 @@ import ( const ( // Prefix is appended to each metric event name - Prefix = "pilosa" + Prefix = "pilosa." // BufferLen Stats lient buffer size. BufferLen = 1024 diff --git a/datadog/datadog_test.go b/datadog/datadog_test.go index 5de60165e..f1743bee7 100644 --- a/datadog/datadog_test.go +++ b/datadog/datadog_test.go @@ -15,6 +15,7 @@ package datadog_test import ( + "io/ioutil" "reflect" "testing" @@ -28,6 +29,7 @@ func TestStatsClient_WithTags(t *testing.T) { t.Fatal(err) } defer c.Close() + c.SetLogger(ioutil.Discard) // Create a new client with additional tags. c1 := c.WithTags("foo", "bar")