Commits on Nov 13, 2012
  1. @aphyr

    Version 0.1.3

    aphyr committed Nov 13, 2012
  2. @aphyr
  3. @aphyr
  4. @aphyr
  5. @aphyr

    Try to fix travis. :(

    aphyr committed Nov 12, 2012
  6. @aphyr

    lein pkg task

    aphyr committed Nov 12, 2012
  7. @aphyr
  8. @aphyr

    Add tar task

    aphyr committed Nov 12, 2012
  9. @aphyr
  10. @aphyr

    Tune JVM opts.

    Add compressed object pointers, drop -d64, port to pkg/ scripts.
    aphyr committed Nov 12, 2012
  11. @aphyr

    Replace localhost with 127.0.0.1.

    Stop confusing users with ipv6 jvms.
    aphyr committed Nov 12, 2012
  12. @aphyr
  13. @aphyr
  14. @aphyr
  15. @aphyr

    Merge pull request #60 from jib/bin-exec

    * this should exec, rather than launch a subprocess. this way it works n...
    aphyr committed Nov 12, 2012
  16. * this should exec, rather than launch a subprocess. this way it work…

    …s nicely under supervisor, etc
    Jos Boumans committed Nov 12, 2012
Commits on Nov 11, 2012
  1. @aphyr

    Clarify the relationship between where, where-event, and match.

    (where expr) rewrites expr in complex ways, as well as binding
    symbols like 'event, 'metric, and 'state. In cases where you want to
    write a predicate without symbol capture, (where-event event-name expr)
    allowed you to bind the event to an arbitrary symbol inside expr.
    
    We already have a system for binding variables in scope: function
    arguments. We also have a large library of functions which take events
    and return truthy values. It made sense to consolidate these two into a
    new stream: (where* f), which takes a *function* of an event instead of
    an expression. (where*) does not rewrite its arguments, except to
    provide (where)'s (else ...) blocks.
    
    (where-event) is gone; (where*) provides all its functionality in a more
    composable way.
    
    (match) has been underappreciated for a while now. I've made it more
    powerful by using the new Match protocol in riemann.common, which allows
    it to apply functions, regexes, sets, and values as predicates for
    matching aspects of an event. It should be a solid complement to
    (where) with these changes.
    aphyr committed Nov 11, 2012
Commits on Nov 10, 2012
  1. @aphyr

    streams/tagged-all and tagged-any take strings now, too.

    Their documentation lied! Now, (tagged-all "cat" prn) works the same as
    (tagged-all ["cat"] prn).
    aphyr committed Nov 10, 2012
  2. @aphyr

    streams/adjust is no longer a multimethod.

    Also document that streams/smap is to be preferred to adjust's
    functional form.
    aphyr committed Nov 10, 2012
  3. @aphyr
  4. @aphyr
  5. @aphyr

    Document streams/tagged

    aphyr committed Nov 10, 2012
  6. @aphyr

    Remove trailing whitespace.

    aphyr committed Nov 10, 2012
  7. @aphyr

    (where predicate ... (else ...))

    (where used to work like (when), passing events which matched predicate
    to each child and doing nothing when events did not match. Now, children
    inside one (or more) expressions wrapped in (else) receive events which
    *do not* match predicate. For instance:
    
    (where (metric < 500)
      (with :state "ok" index)
      (else
        (with :state "warning" index)
        (email "ops@foo.org")))
    aphyr committed Nov 10, 2012
  8. @aphyr

    streams/where uses new Match protocol for matching values.

    This lets it match regular expressions, functions, and objects against
    events efficiently at runtime instead of compile-time. This allows the
    use of variables in where predicates.
    aphyr committed Nov 10, 2012
  9. @aphyr

    test.pool: fix a timing bug.

    with-pool-test needs time to allow the pool to regenerate.
    aphyr committed Nov 10, 2012
  10. @aphyr
  11. @aphyr

    test.streams/rate-fast: try to track down a bug on travis-ci.

    There's some sort of errror that only manifests on travis-ci; hoping
    this extra assertion will help figure it out.
    aphyr committed Nov 10, 2012
  12. @aphyr
  13. @aphyr

    riemann.graphite uses riemann.pool

    This should fix the reconnection and liveness issues with the old socket
    system and provide the higher throughput of the
    arrayblockingqueue-of-sockets implementation. Also makes the code much
    simpler. Tests with graphite, both automated and live, show resilience
    to transient and long-running failures, including flapping.
    aphyr committed Nov 9, 2012
  14. @aphyr
  15. @aphyr

    Add riemann.pool: a mutable resource pool.

    Where side effects matter, like working with sockets, riemann.pool
    provides a fixed-size resource pool which automatically retries and
    yields resources with adjustable timeouts.
    aphyr committed Nov 9, 2012
Commits on Nov 9, 2012
  1. @aphyr

    Merge pull request #50 from jib/log-to-stdout

    * mention how to do it on windows as well
    aphyr committed Nov 9, 2012
  2. * mention how to do it on windows as well

    Jos Boumans committed Nov 9, 2012
  3. @aphyr

    Merge pull request #48 from jib/log-to-stdout

    * document how to log to stdout
    aphyr committed Nov 9, 2012