{"id":13837211,"url":"https://github.com/sivy/pystatsd","last_synced_at":"2025-12-14T00:36:13.910Z","repository":{"id":1390372,"uuid":"1374277","full_name":"sivy/pystatsd","owner":"sivy","description":"Python implementation of the Statsd client/server","archived":false,"fork":false,"pushed_at":"2021-06-26T16:24:06.000Z","size":161,"stargazers_count":358,"open_issues_count":29,"forks_count":87,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-09T13:07:34.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pypi.python.org/pypi/pystatsd/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sivy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-16T15:35:25.000Z","updated_at":"2024-07-12T14:21:07.000Z","dependencies_parsed_at":"2022-07-29T12:38:58.511Z","dependency_job_id":null,"html_url":"https://github.com/sivy/pystatsd","commit_stats":null,"previous_names":["sivy/py-statsd"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivy%2Fpystatsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivy%2Fpystatsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivy%2Fpystatsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivy%2Fpystatsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sivy","download_url":"https://codeload.github.com/sivy/pystatsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225648369,"owners_count":17502176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T15:01:03.408Z","updated_at":"2025-12-14T00:36:13.818Z","avatar_url":"https://github.com/sivy.png","language":"Python","readme":"Introduction\n------------\n\n**pystatsd** is a client and server implementation of Etsy's brilliant statsd\nserver, a front end/proxy for the Graphite stats collection and graphing server.\n\n* Graphite\n    - http://graphite.wikidot.com\n* Statsd\n    - code: https://github.com/etsy/statsd\n    - blog post: http://codeascraft.etsy.com/2011/02/15/measure-anything-measure-everything/\n\n**pystatsd** is [tested on](https://github.com/sivy/pystatsd/actions) Python 2.7 and 3.8.\n\nStatus\n-------------\n\nReviewing and merging pull requests, bringing stuff up to date, with tests!\n\n[![lint_python](https://github.com/sivy/pystatsd/workflows/lint_python/badge.svg)](https://github.com/sivy/pystatsd/actions)\n\nUsage\n-------------\n\nSee statsd_test for sample usage:\n\n    from pystatsd import Client, Server\n\n    srvr = Server(debug=True)\n    srvr.serve()\n\n    sc = Client('example.org',8125)\n\n    sc.timing('python_test.time',500)\n    sc.increment('python_test.inc_int')   # or sc.incr()\n    sc.decrement('python_test.decr_int')  # or sc.decr()\n    sc.gauge('python_test.gauge', 42)\n\nBuilding a Debian Package\n-------------\n\nTo build a debian package, run `dpkg-buildpackage -rfakeroot`\n\nUpstart init Script\n-------------\nUpstart is the daemon management system for Ubuntu.\n\nA basic upstart script has been included for the pystatsd server. It's located\nunder init/, and will be installed to /usr/share/doc if you build/install a\n.deb file. The upstart script should be copied to /etc/init/pystatsd.conf and\nwill read configuration variables from /etc/default/pystatsd. By default the\npystatsd daemon runs as user 'nobody' which is a good thing from a security\nperspective.\n\nTroubleshooting\n-------------\n\nYou can see the raw values received by pystatsd by packet sniffing:\n\n    $ sudo ngrep -qd any . udp dst port 8125\n\nYou can see the raw values dispatched to carbon by packet sniffing:\n\n    $ sudo ngrep -qd any stats tcp dst port 2003\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivy%2Fpystatsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsivy%2Fpystatsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivy%2Fpystatsd/lists"}