Giter Club home page Giter Club logo

statsdaemon's Introduction

statsdaemon

Port of Etsy's statsd (https://github.com/etsy/statsd), written in Go (originally based on amir/gographite).

This is a fork of Bitly's Statsdaemon code. Goals for this fork are:

  • Support float64 timers - done
  • Support float64 gauges - done
  • Support float64 counters
  • Add timer statistics
    • standard deviation (std)
    • count per second (count_ps)
    • sum (sum)
    • sum of sqaures (sum_squares)
    • median (median)
    • count percentiles
    • mean percentiles
    • sum percentiles
    • sum of squares percentiles

Supports

  • Timing (with optional percentiles)
  • Counters (positive and negative with optional sampling)
  • Gauges (including relative operations)
  • Sets

Installing

Building from Source

git clone https://github.com/jjneely/statsdaemon
cd statsdaemon
go get github.com/bmizerany/assert #for tests
go build

Command Line Options

Usage of ./statsdaemon:
  -address=":8125": UDP service address
  -debug=false: print statistics sent to graphite
  -delete-gauges=true: don't send values to graphite for inactive gauges, as opposed to sending the previous value
  -flush-interval=10: Flush interval (seconds)
  -graphite="127.0.0.1:2003": Graphite service address (or - to disable)
  -max-udp-packet-size=1472: Maximum UDP packet size
  -percent-threshold=[]: percentile calculation for timers (0-100, may be given multiple times)
  -persist-count-keys=60: number of flush-intervals to persist count keys
  -postfix="": Postfix for all stats
  -prefix="": Prefix for all stats
  -receive-counter="": Metric name for total metrics received per interval
  -tcpaddr="": TCP service address, if set
  -version=false: print version string

statsdaemon's People

Contributors

jehiah avatar mreiferson avatar markrechler avatar jensrantil avatar rymo4 avatar amir avatar zariel avatar ploxiln avatar teepark avatar encryptio avatar dieterbe avatar mikedewar avatar dcosson avatar gevorg15 avatar losinggeneration avatar jjneely avatar offlinehacker avatar mattkanwisher avatar torkelo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.