From a3310f719259bdbca0bee939a09fd65cfe57e09d Mon Sep 17 00:00:00 2001 From: scoiatael Date: Thu, 9 Mar 2017 11:40:24 +0100 Subject: [PATCH] Fix double . in failure name --- telemetry/datadog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemetry/datadog.go b/telemetry/datadog.go index 24cca12..68333cb 100644 --- a/telemetry/datadog.go +++ b/telemetry/datadog.go @@ -23,7 +23,7 @@ func (c *Client) on_error(err error) { func (c *Client) Failure(title, text string) { if c.initialized { - title = c.client.Namespace + "." + title + title = c.client.Namespace + title ev := statsd.NewEvent(title, text) ev.AlertType = statsd.Error err := errors.Wrap(c.client.Event(ev), "Failed sending event to DataDog")