Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Statsd integration for eve

Project description

https://travis-ci.org/tarzan0820/Eve-Statsd.png?branch=master

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Eve-Statsd-0.0.2.tar.gz (39.9 kB) Copy SHA256 hash SHA256 Source None Jan 6, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page