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

This commit is contained in:
Daniel Nelson 2018-01-22 12:04:16 -08:00 committed by GitHub
parent 35ec1ad178
commit f3a57ea69e
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 {