Remove graphite serializer replacement of dot with underscore in field key (#3705)

(cherry picked from commit 4558aeddeb)
This commit is contained in:
Daniel Nelson 2018-01-22 12:04:16 -08:00 committed by Daniel Nelson
parent b464adb08c
commit a8d9e458ab
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 1 deletions

View File

@ -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 {