------------
**pystatsd** is a client and server implementation of Etsy's brilliant statsd
server, a front end/proxy for the Graphite stats collection and graphing server.
* Graphite
- http://graphite.wikidot.com
* Statsd
- code: https://github.com/etsy/statsd
- blog post: http://codeascraft.etsy.com/2011/02/15/measure-anything-measure-everything/
**pystatsd** has [been tested on](http://travis-ci.org/sivy/py-statsd) python 2.5, 2.6, and 2.7.
Status
-------------
Reviewing and merging pull requests, bringing stuff up to date, now with tests!
[](http://travis-ci.org/sivy/py-statsd)
Usage
-------------
See statsd_test for sample usage:
from pystatsd import Client, Server
srvr = Server(debug=True)
srvr.serve()
sc = Client('example.org',8125)
sc.timing('python_test.time',500)
sc.increment('python_test.inc_int')
sc.decrement('python_test.decr_int')
sc.gauge('python_test.gauge', 42)
Building a Debian Package
-------------
To build a debian package, run `dpkg-buildpackage -rfakeroot`
Upstart init Script
-------------
Upstart is the daemon management system for Ubuntu.
A basic upstart script has been included for the pystatd server. It's located
under init/, and will be installed to /usr/share/doc if you build/install a
.deb file. The upstart script should be copied to /etc/init/pystatd.conf and
will read configuration variables from /etc/default/pystatd. By default the
pystatd daemon runs as user 'nobody' which is a good thing from a security
perspective.
Troubleshooting
-------------
You can see the raw values received by pystatsd by packet sniffing:
$ sudo ngrep -qd any . udp dst port 8125
You can see the raw values dispatched to carbon by packet sniffing:
$ sudo ngrep -qd any stats tcp dst port 2003
Metadata
Release files for pystatsd 0.1.10
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 |
|---|---|---|---|---|
| pystatsd-0.1.10.tar.gz | 11.9 kB | Without provenance | Details for pystatsd-0.1.10.tar.gz |
Release files / pystatsd-0.1.10.tar.gz
| Download URL | pystatsd-0.1.10.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93762daf15f716f76e84da2713d18f599490ad9a18731dbf9d8e8eef1da7c737
|
|
BLAKE2b-256 checksum How to use checksums |
b97fbbe2fe1dae9455ffe1611e1092d431071e06e3fdcb1ba117cb6a82ba48ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pystatsd 0.1.10
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.