From 5d6ec37807416ae3225072cc628330ae5460987c Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 19 Jan 2018 11:07:02 -0800 Subject: [PATCH] Remove graphite serializer replacement of dot with underscore in field --- 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 157add41d9209..f88305ab4a258 100644 --- a/plugins/serializers/graphite/graphite.go +++ b/plugins/serializers/graphite/graphite.go @@ -133,7 +133,7 @@ func InsertField(bucket, fieldName string) string { if fieldName == "value" { return fieldDeleter.Replace(bucket) } - return strings.Replace(bucket, "FIELDNAME", strings.Replace(fieldName, ".", "_", -1), 1) + return strings.Replace(bucket, "FIELDNAME", fieldName, 1) } func buildTags(tags map[string]string) string {