Change the default influxMeasurementFieldSeparator

This commit is contained in:
Jiri Tyr 2019-06-25 11:32:57 +01:00 committed by Aliaksandr Valialkin
parent d5cb9fddd8
commit e7a0bf1a71

View file

@ -21,7 +21,7 @@ import (
)
var (
measurementFieldSeparator = flag.String("influxMeasurementFieldSeparator", ".", "Separator for `{measurement}{separator}{field_name}` metric name when inserted via Influx line protocol")
measurementFieldSeparator = flag.String("influxMeasurementFieldSeparator", "_", "Separator for `{measurement}{separator}{field_name}` metric name when inserted via Influx line protocol")
skipSingleField = flag.Bool("influxSkipSingleField", false, "Uses `{measurement}` instead of `{measurement}{separator}{field_name}` for metic name if Influx line contains only a single field")
)