mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-29 02:31:00 +00:00
Added test for invalid Influx style extended aggregation
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
This commit is contained in:
parent
da94065b43
commit
468af47dfb
1 changed files with 6 additions and 0 deletions
|
@ -691,6 +691,12 @@ func TestLineToEvents(t *testing.T) {
|
||||||
"SignalFX no tags with invalid Datadog style extended aggregation values and timings type": {
|
"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",
|
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": {
|
"timings with sampling factor": {
|
||||||
in: "foo.timing:0.5|ms|@0.1",
|
in: "foo.timing:0.5|ms|@0.1",
|
||||||
out: event.Events{
|
out: event.Events{
|
||||||
|
|
Loading…
Reference in a new issue