HUB
Sign inSign up
statsd logo

vimagick/statsd

By vimagick

•Updated about 5 years ago

Daemon for easy but powerful stats aggregation

Image
0

3.5K

vimagick/statsd repository overview

⁠statsd

StatsD⁠ is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite⁠).

⁠docker-compose.yml

statsd:
  image: vimagick/statsd
  ports:
    - "8125:8125/udp"
    - "8126:8126/tcp"
  external_links:
    - graphite_graphite_1:graphite
  restart: always

⁠python client

$ pip install statsd
import statsd
c = statsd.StatsClient('localhost', 8125)
c.incr('foo')  # Increment the 'foo' counter.
c.timing('stats.timed', 320)  # Record a 320ms 'stats.timed'.

Tag summary

Content type

Image

Digest

Size

21.6 MB

Last updated

about 5 years ago

docker pull vimagick/statsd