Skip to content

Instantly share code, notes, and snippets.

@jib
Created November 8, 2012 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jib/0a96223a1b1cc6680375 to your computer and use it in GitHub Desktop.
Save jib/0a96223a1b1cc6680375 to your computer and use it in GitHub Desktop.
riemann "tagged"

Here's the riemann config i'm using

(let [
    index (default :ttl 10 (update-index (index)))
  ]

  (streams
    prn

    (where (tagged "tag"
      (partial prn "found tag")
    ))

    index
  )
)

And when I send a test message, which is tagged with 2 tags, I get the following output (the prn prints, but the tag does not appear to match):

{:host "riemann-dev001.krxd.net", :state "foo", :service "testing", :metric 42.0, :time 1352414880, :description "service event description", :tags ["tag" "another_tag"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment