MCPcopy Index your code
hub / github.com/bitly/statsdaemon

github.com/bitly/statsdaemon @v0.7.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.3 ↗ · + Follow
70 symbols 209 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

statsdaemon

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

Supports:

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

Initially only integers were supported for metric values, but now double-precision floating-point is supported.

Build Status

Installing

Binary Releases

Pre-built binaries for darwin and linux.

Current Stable Release: v0.7.2

Building from Source

go get https://github.com/bitly/statsdaemon

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
  -heartbeat-file="": heartbeat file to update after a successful write to graphite

Core symbols most depended-on inside this repo

parseLine
called by 51
statsdaemon.go
packetHandler
called by 30
statsdaemon.go
String
called by 15
statsdaemon.go
processTimers
called by 10
statsdaemon.go
processGauges
called by 9
statsdaemon.go
Next
called by 9
statsdaemon.go
Set
called by 8
statsdaemon.go
NewParser
called by 7
statsdaemon.go

Shape

Function 53
Method 10
Struct 5
TypeAlias 2

Languages

Go100%

Modules by API surface

statsdaemon_test.go40 symbols
statsdaemon.go30 symbols

For agents

$ claude mcp add statsdaemon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact