telegraf/internal/models
Daniel Nelson 1388e2cf92 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
..
filter.go Support Processor & Aggregator Plugins 2016-10-12 14:50:19 +01:00
filter_test.go Refactor and code cleanup of filtering 2016-09-05 16:30:18 +01:00
makemetric.go Do not allow metrics with trailing slashes (#3007) 2017-07-11 15:54:38 -07:00
running_aggregator.go Check if metric is nil before calling SetAggregate 2016-12-13 12:27:10 +00:00
running_aggregator_test.go Fix unit tests for new metric implementation 2016-12-01 18:17:02 +00:00
running_input.go readme fixup & test output fixup 2017-01-09 12:28:13 +00:00
running_input_test.go Do not allow metrics with trailing slashes (#3007) 2017-07-11 15:54:38 -07:00
running_output.go Only set the buffer size once 2017-02-17 14:11:15 +00:00
running_output_test.go running output: Drop nil metrics 2017-02-01 08:55:22 +00:00
running_processor.go Support ordering of processor plugins 2016-10-12 14:50:19 +01:00
running_processor_test.go Support Processor & Aggregator Plugins 2016-10-12 14:50:19 +01:00