https://github.com/bodgit/evstatsd
Small libevent-based implementation of statsd
https://github.com/bodgit/evstatsd
Last synced: 7 months ago
JSON representation
Small libevent-based implementation of statsd
- Host: GitHub
- URL: https://github.com/bodgit/evstatsd
- Owner: bodgit
- Created: 2013-04-28T14:55:56.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-17T23:08:10.000Z (over 12 years ago)
- Last Synced: 2025-03-16T22:49:05.891Z (12 months ago)
- Language: C
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
evstatsd
========
Small libevent-based implementation of statsd.
It provides a JSON-serving webserver listening on port 8126 for viewing and
deleting metrics:
$ curl -s -XGET http://localhost:8126/counters
[
"prefix.server.apache.bytes",
"prefix.server.apache.response.200",
"prefix.server.apache.response.301",
"prefix.server.apache.response.302",
"prefix.server.apache.response.304",
"prefix.server.apache.response.400",
"prefix.server.apache.response.403",
"prefix.server.apache.response.404",
"prefix.server.apache.response.405",
"prefix.server.apache.response.408",
"prefix.server.apache.response.500"
]
An individual metric can be viewed:
$ curl -s -XGET http://localhost:8126/counters/prefix.server.apache.bytes
{
"last_modified": 1370874868,
"name": "prefix.server.apache.bytes",
"value": 55569425.0
}
Issuing a DELETE request to the same URL will delete the metric.