{"repo":"statsd/statsd","free":true,"listed":false,"github":"https://github.com/statsd/statsd","clone":"git clone https://github.com/statsd/statsd.git","description":"Daemon for easy but powerful stats aggregation","language":"JavaScript","stars":18073,"topics":["statsd","graphite","javascript","metrics","nodejs"],"license":"MIT","category":"analytics","readme_excerpt":"StatsD A network daemon that runs on the [Node.js][node] platform and listens for statistics, like counters and timers, sent over [UDP][udp] or [TCP][tcp] and sends aggregates to one or more pluggable backend services (e.g., [Graphite][graphite]). Key Concepts buckets Each stat is in its own \"bucket\". They are not predefined anywhere. Buckets can be named anything that will translate to Graphite (periods make folders, etc) values Each stat will have a value. How it is interpreted depends on modifiers. In general values should be integers. flush After the flush interval timeout (defined by config.flushInterval , default 10 seconds), stats are aggregated and sent to an upstream backend service. Installation and Configuration Docker StatsD supports docker in three ways: The official container image on GitHub Container Registry The official container image on DockerHub Building the image from the bundled Dockerfile Manual installation Install Node.js (All Current and LTS Node.js versions are supported.) Clone the project Create a config file from exampleConfig.js and put it somewhere Start the Daemon: node stats.js /path/to/config Usage The basic line protocol expects metrics to be sent in the format: : So the simplest way to send in metrics from your command line if you have StatsD running with the default UDP server on localhost would be: echo \"foo:1 c\" nc -u -w0 127.0.0.1 8125 More Specific Topics [Metric Types][docs metric types] [Graphite Integration][docs graphite] [Support","default_branch":null,"files":null,"tree":[],"storefront":"/r/statsd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/statsd/statsd/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."}