sanitize parenthesis (#1701)

This commit is contained in:
Phil 2016-09-05 08:30:40 -05:00 committed by Cameron Sparr
parent 5628049440
commit b63dedb74d
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const DEFAULT_TEMPLATE = "host.tags.measurement.field"
var (
fieldDeleter = strings.NewReplacer(".FIELDNAME", "", "FIELDNAME.", "")
sanitizedChars = strings.NewReplacer("/", "-", "@", "-", "*", "-", " ", "_", "..", ".", `\`, "")
sanitizedChars = strings.NewReplacer("/", "-", "@", "-", "*", "-", " ", "_", "..", ".", `\`, "", ")", "_", "(", "_")
)
type GraphiteSerializer struct {