Registry / observability / cactus-go-statsd-client-statsd

cactus-go-statsd-client-statsd

JSON →
library3.1.1+incompatiblegogounverified

Package statsd provides a StatsD client implementation that is safe for concurrent use by multiple goroutines and for efficiency can be created and reused.

go get github.com/cactus/go-statsd-client/statsd
INSTALL
IMPORT
SIG · CACTUS-GO-STATSD-C
C
cactus-go-statsd-client-statsd
observabilitygov3.1.1+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

statsd
github.com/cactus/go-statsd-client/statsd

Creates a StatsD client and increments a counter.

package main import ( "github.com/cactus/go-statsd-client/statsd" ) func main() { client, _ := statsd.NewClient("localhost:8125", "prefix") defer client.Close() client.Inc("counter", 1, 1.0) }
Debug
Known issues
gotchaVersion 3.1.1+incompatible uses a non-modular import path; ensure your go.mod uses the correct version.
fix
Use `go get github.com/cactus/go-statsd-client/statsd@v3.1.1+incompatible` or upgrade to a newer major version if available.
affects: v3.1.1+incompatible
Upgrade
Version history
3.1.1+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
1
Resources
cactus-go-statsd-client-statsd — go get cactus-go-statsd-client-statsd · libregistry