From b63dedb74dfe01fbcc5332da0b8ad28fe92779d5 Mon Sep 17 00:00:00 2001
From: Phil <schwartzmx@gmail.com>
Date: Mon, 5 Sep 2016 08:30:40 -0500
Subject: [PATCH] sanitize parenthesis (#1701)

---
 plugins/serializers/graphite/graphite.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/serializers/graphite/graphite.go b/plugins/serializers/graphite/graphite.go
index 6a6fd9ca..bff64d08 100644
--- a/plugins/serializers/graphite/graphite.go
+++ b/plugins/serializers/graphite/graphite.go
@@ -12,7 +12,7 @@ const DEFAULT_TEMPLATE = "host.tags.measurement.field"
 
 var (
 	fieldDeleter   = strings.NewReplacer(".FIELDNAME", "", "FIELDNAME.", "")
-	sanitizedChars = strings.NewReplacer("/", "-", "@", "-", "*", "-", " ", "_", "..", ".", `\`, "")
+	sanitizedChars = strings.NewReplacer("/", "-", "@", "-", "*", "-", " ", "_", "..", ".", `\`, "", ")", "_", "(", "_")
 )
 
 type GraphiteSerializer struct {
-- 
GitLab