Remove graphite serializer replacement of dot with underscore in field key (#3705)
This commit is contained in:
parent
36c9113917
commit
4558aeddeb
|
@ -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