Tracks Riemann performance data
These things can be asked to report events about their performance and health.
Returns a sequence of events describing the current state of the object.
Does a thingy provide instrumentation?
(measure-latency metric & body)
Wraps body in a macro which reports its running time in nanoseconds to a Metric.
Convert nanoseconds to milliseconds.
(rate+latency ev quantiles)
Returns a Metric which can be updated with latency measurements. When asked for events, returns a rate of total throughput, plus the given quantiles of latency metrics. Takes an optional base event which is used as the template. Input latencies are in nanoseconds (for storage as longs), emits latencies as doubles in milliseconds.