Added test for invalid Influx style extended aggregation

Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
This commit is contained in:
Greg Chambers 2024-06-02 14:23:53 -07:00
parent da94065b43
commit 468af47dfb

View file

@ -691,6 +691,12 @@ func TestLineToEvents(t *testing.T) {
"SignalFX no tags with invalid Datadog style extended aggregation values and timings type": {
in: "foo.[]test:0.5:120:3000:10:20000:0.01|ms",
},
"Influx no tags with invalid Datadog style extended aggregation values and timings type": {
in: "foo.test:0.5:120:3000:10:20000:0.01|ms",
},
"Influx no tags with invalid Datadog style extended aggregation values and histogram type": {
in: "foo.test:0.5:120:3000:10:20000:0.01|ms",
},
"timings with sampling factor": {
in: "foo.timing:0.5|ms|@0.1",
out: event.Events{