Created
August 20, 2015 20:43
-
-
Save mivok/ae0c5267cd7999db7129 to your computer and use it in GitHub Desktop.
Indexing multiple times
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [index (index)] | |
(streams | |
index ; Index everything to begin with | |
(where (<= 0 metric 5) | |
(with :state "ok" index) | |
(else | |
(with :state "warning" index))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment