StatsD was popularized by Etsy, and we refer to their implementation as “Etsy-standard” (https://github.com/etsy/statsd/). It’s a light-weight method of gathering statistics from your applications. As an application developer, all you need to do is include a small library, and sprinkle one-liners like this throughout your code:
Statsd.increment(“my.important.event”) Statsd.gauge(“my.important.value”, important_value) Statsd.timing(“my.important.process”, important_process_time)
In the Etsy version, this will cause a UDP packet to be sent to a designated server that is running their collection and visualization packages. The AppFirst client API looks the same to the application developer, but sends data via POSIX message queue or Windows Mailslot to the collector and takes advantage of AppFirst collection and visualization technologies.
If you are already running an AppFirst collector on your server, then all you need to do is use an AppFirst StatsD library instead of an Etsy-only library. This library will aggregate your metrics, and then use a message queue to pass them to the AppFirst collector, which will pass them up to our Big Data store, where they will be visible on your AppFirst dashboards and Correlate charts. This is more efficient than the UDP method and you don’t need to set up the Etsy collection and visualization environment.
If you are already using Etsy StatsD, you can make a gradual transition. Our libraries can be used in Etsy mode, so you can configure them to send UDP to your existing Etsy monitoring apparatus. Our collector also accepts StatsD UDP messages, so you can just point your existing Etsy-only StatsD library to localhost:8125, until you are ready to transition to an AppFirst StatsD library. For more information on enabling UDP StatsD on the collector click here: http://support.appfirst.com/appfirst-statsd-beta/#other_clients
Metadata
Release files for AFStatsd 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| AFStatsd-1.1.0.tar.gz | 7.1 kB | Without provenance | Details for AFStatsd-1.1.0.tar.gz |
Release files / AFStatsd-1.1.0.tar.gz
| Download URL | AFStatsd-1.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
676ba1938da9e3b365ed9664b8851c9303b06ee93da15e74517c8bd6ec5244eb
|
|
BLAKE2b-256 checksum How to use checksums |
28fd9346c73bd0cfd48b5edb10f53b72f26186785db59922d9fd52b5aa909c33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for AFStatsd 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.