telegraf/metric
Daniel Nelson b086ecee0c Do not allow metrics with trailing slashes (#3007)
It is not possible to encode a measurement, tag, or field whose last
character is a backslash due to it being an unescapable character.
Because the tight coupling between line protocol and the internal metric
model, prevent metrics like this from being created.

Measurements with a trailing slash are not allowed and the point will be
dropped.  Tags and fields with a trailing a slash will be dropped from
the point.
2017-07-11 15:54:38 -07:00
..
escape.go More unit tests for new metric 2016-12-01 19:07:14 +00:00
inline_strconv_parse.go Implement telegraf's own full metric type 2016-12-01 18:17:02 +00:00
inline_strconv_parse_test.go More unit tests for new metric 2016-12-01 19:07:14 +00:00
metric.go Do not allow metrics with trailing slashes (#3007) 2017-07-11 15:54:38 -07:00
metric_benchmark_test.go Support a telegraf.Metric.Split function 2016-12-07 15:18:47 +00:00
metric_test.go Do not allow metrics with trailing slashes (#3007) 2017-07-11 15:54:38 -07:00
parse.go Fix bug parsing default timestamps with modified precision (#2949) 2017-06-23 10:59:04 -07:00
parse_test.go Fix bug parsing default timestamps with modified precision (#2949) 2017-06-23 10:59:04 -07:00
reader.go Fix udp metric splitting (#2880) 2017-06-05 12:44:29 -07:00
reader_test.go Fix udp metric splitting (#2880) 2017-06-05 12:44:29 -07:00