Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.3% on proxy.golang.org
Top 0.5% dependent packages on proxy.golang.org
Top 0.6% dependent repos on proxy.golang.org
Top 5.3% forks on proxy.golang.org
Top 0.5% docker downloads on proxy.golang.org

proxy.golang.org : github.com/smira/go-statsd

Package statsd implements high-performance, zero-allocation statsd client. Go statsd client library with zero allocation overhead, great performance and automatic reconnects. With statsd architecture aggregation is performed on statsd server side (e.g. using high-performance servers like statsite), so application emits many metrics per user action. Performance of statsd client library is critical to introduce as little overhead as possible. Client has zero memory allocation per metric being sent, architecture is the following: Ideas were borrowed from the following stastd clients: Initialize client instance with options, one client per application is usually enough: Send metrics as events happen in the application, metrics will be packed together and delivered to statsd server: Shutdown client during application shutdown to flush all the pending metrics: Metrics could be tagged to support aggregation on TSDB side. go-statsd supports tags in InfluxDB and Datadog formats. Format and default tags (applied to every metric) are passed as options to the client initialization: For every metric sent, tags could be added as the last argument(s) to the function call:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/smira/go-statsd
Keywords: golang, monitoring, statsd, statsite, zero-allocation
License: MIT
Latest release: 8 months ago
First release: about 6 years ago
Namespace: github.com/smira
Dependent packages: 90
Dependent repositories: 87
Stars: 95 on GitHub
Forks: 17 on GitHub
Docker dependents: 8
Docker downloads: 7,757,630
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...