Created
April 19, 2018 11:38
-
-
Save haf/2296fe13e53955d45ce637b8ad550deb to your computer and use it in GitHub Desktop.
Riemann
This file contains 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
Events.events | |
|> Pipe.filter (Message.tryGetContext "service" >> (=) "web.api") | |
|> Pipe.filter (Message.getExns >> List.isEmpty >> not) | |
|> Pipe.bufferTime (TimeSpan.FromSeconds 3600) | |
|> Events.sink [ "email" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment