test new groupby interval for trend on monitor packets

This commit is contained in:
m0duspwnens
2021-07-15 08:42:53 -04:00
parent c1f550382c
commit fbf26bef8d

View File

@@ -122,7 +122,7 @@
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(mean_packets_recv), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "query": "SELECT non_negative_derivative(mean(mean_packets_recv), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time(5m), * fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col", "alias": "$tag_host: $tag_interface: $col",
"hide": false "hide": false
@@ -162,7 +162,7 @@
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(mean_packets_sent), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "query": "SELECT non_negative_derivative(mean(mean_packets_sent), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time(5m), * fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "alias": "$tag_host: $tag_interface: $col"
} }