Remove graphite serializer replacement of dot with underscore in field key (#3705)
(cherry picked from commit 4558aeddeb
)
This commit is contained in:
parent
b464adb08c
commit
a8d9e458ab
|
@ -133,7 +133,7 @@ func InsertField(bucket, fieldName string) string {
|
||||||
if fieldName == "value" {
|
if fieldName == "value" {
|
||||||
return fieldDeleter.Replace(bucket)
|
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 {
|
func buildTags(tags map[string]string) string {
|
||||||
|
|
Loading…
Reference in New Issue