Module dipstick::publish
[−]
[src]
Publishes metrics values from a source to a sink.
use dipstick::*; let (sink, source) = aggregate(); let publisher = publish(source, log("aggregated")); publisher.publish()
Functions
publish |
Define and write metrics from aggregated scores to the target channel If this is called repeatedly it can be a good idea to use the metric cache to prevent new metrics from being created every time. |
publish_every |
Schedules the publisher to run at recurrent intervals |