Eve-Statsd
An addon for Eve. Eve-Statsd automatically monitors active domains/resources, sending “Hit Counters” and “Timers” to your statsd instance
Features
For enabled resources, monitors api hits and response time to your statsd instance
You can also use the statsd object at app.statsd to do custom timing
License
Eve-Statsd is GPLv3 licensed.
Install
$ pip install Eve-Statsd
Usage
Example usage is show below.
from Eve import eve
from eve_statsd import StatsD
app = Eve()
StatsD(app)
Config
There are 4 options for Eve-Statsd taken from app.config:
STATSD_HOST (default: 'localhost')
STATSD_PORT - (default: 8125)
STATSD_PREFIX - (default: None)
STATSD_MONITORED_DOMAINS - (default: [])
STATSD_MONITORED_DOMAINS is a list of all domains that should be monitored. If none is provided all declare domians are monitored
Changelog
0.0.2 (2016-01-06)
check that a resource is being accessed before firing hook
0.0.1 (2016-01-04)
initial release
Release files for Eve-Statsd 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Eve-Statsd-0.0.2.tar.gz | 39.9 kB | Details |
Release files / Eve-Statsd-0.0.2.tar.gz
| Download URL | Eve-Statsd-0.0.2.tar.gz |
|---|---|
| Size | 39.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d82184c55bb9ca27a00993d091361d3b5358524d5acad541f0a68c9f499e4c10
|
|
BLAKE2b-256 checksum How to use checksums |
a2e27a214eeb324e22b6f0e883715a9cee3cc826e1590946506924a383217eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |