{"repo":"fralalonde/dipstick","free":true,"listed":false,"github":"https://github.com/fralalonde/dipstick","clone":"git clone https://github.com/fralalonde/dipstick.git","description":"Configurable metrics toolkit for Rust applications","language":"Rust","stars":101,"topics":["rust","metrics","statsd","sampling","timer","counter","log"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"dipstick A one-stop shop metrics library for Rust applications with lots of features, minimal impact on applications and a choice of output to downstream systems. Features Dipstick is a toolkit to help all sorts of application collect and send out metrics. As such, it needs a bit of set up to suit one's needs. Skimming through the handbook and many examples should help you get an idea of the possible configurations. In short, dipstick-enabled apps can : - Send metrics to console, log, statsd, graphite or prometheus (one or many) - Locally aggregate the count, sum, mean, min, max and rate of metric values - Publish aggregated metrics, on schedule or programmatically - Customize output statistics and formatting - Define global or scoped (e.g. per request) metrics - Statistically sample metrics (statsd) - Choose between sync or async operation - Choose between buffered or immediate output - Switch between metric backends at runtime For convenience, dipstick builds on stable Rust with minimal, feature-gated dependencies. Performance, safety and ergonomy are also prime concerns. Non-goals Dipstick's focus is on metrics collection (input) and forwarding (output). Although it will happily aggregate base statistics, for the sake of simplicity and performance Dipstick will not - plot graphs - send alerts - track histograms These are all best done by downstream timeseries visualization and monitoring tools. Show me the code! Here's a basic aggregating & auto-publish counter metric: Per","default_branch":null,"files":null,"tree":[],"storefront":"/r/fralalonde","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fralalonde/dipstick/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}