This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Description
I think I screwed up. Instead of filter working purely based on the groups existing or not existing, I think it might be better if it returns groups that exist and the value for the group (in the second argument) is not zero. That way we could do things like:
filter(q("sum:rate:os.net.pause_frames{direction=out,host=ny-nexus*,iname=*}", "10h", "8h"), avg(q("sum:rate:os.net.pause_frames{direction=out,host=ny-nexus*,iname=*}", "10h", "8h")) != 0)
instead of:
filter(q("sum:rate:os.net.pause_frames{direction=out,host=ny-nexus*,iname=*}", "10h", "8h"), limit(sort(avg(q("sum:rate:os.net.pause_frames{direction=out,host=ny-nexus*,iname=*}", "10h", "8h")) != 0, "desc"), 20))
Thoughts anyone?