Guest User

Untitled

a guest
Nov 22nd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. SELECT 8 * non_negative_derivative(mean("value"), 1s )
  2. FROM "inoctets"
  3. WHERE "host" = 'myhost1' AND $timeFilter
  4. GROUP BY time(1s) fill(null)
  5.  
  6. SELECT 8 * non_negative_derivative(mean("value"), 1s )
  7. FROM "inoctets"
  8. WHERE "host" = 'myhost4' AND $timeFilter
  9. GROUP BY time(1s) fill(null)
  10.  
  11. SELECT 8 * non_negative_derivative(sum("value"), 1s)
  12. FROM "inoctets"
  13. WHERE "host" = 'myhost1' OR "host" = 'myhost4' AND $timeFilter
  14. GROUP BY time($interval)
  15.  
  16. select * from "inoctets" where host =~ /myhost1/myhost4/ limit 10
Add Comment
Please, Sign In to add comment