MCPcopy Index your code
hub / github.com/alexcesaro/statsd

github.com/alexcesaro/statsd @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
117 symbols 449 edges 6 files 28 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

statsd

Build Status Code Coverage Documentation

Introduction

statsd is a simple and efficient Statsd client.

See the benchmark for a comparison with other Go StatsD clients.

Features

  • Supports all StatsD metrics: counter, gauge, timing and set
  • Supports InfluxDB and Datadog tags
  • Fast and GC-friendly: all functions for sending metrics do not allocate
  • Efficient: metrics are buffered by default
  • Simple and clean API
  • 100% test coverage
  • Versioned API using gopkg.in

Documentation

https://godoc.org/gopkg.in/alexcesaro/statsd.v2

Download

go get gopkg.in/alexcesaro/statsd.v2

Example

See the examples in the documentation.

License

MIT

Contribute

Do you have any question the documentation does not answer? Is there a use case that you feel is common and is not well-addressed by the current API?

If so you are more than welcome to ask questions in the thread on golang-nuts or open an issue or send a pull-request here on Github.

Extension points exported contracts — how you extend this code

Option (FuncType)
An Option represents an option for a Client. It must be used as an argument to New() or Client.Clone().
options.go

Core symbols most depended-on inside this repo

Increment
called by 22
statsd.go
Gauge
called by 18
statsd.go
Count
called by 14
statsd.go
Clone
called by 10
statsd.go
Tags
called by 10
options.go
appendString
called by 9
conn.go
New
called by 7
statsd.go
TagsFormat
called by 7
options.go

Shape

Function 73
Method 32
Struct 10
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

statsd_test.go52 symbols
options.go18 symbols
conn.go17 symbols
statsd.go16 symbols
examples_test.go14 symbols

For agents

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

⬇ download graph artifact