Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Configurable Python library for metrics and events reporting

Project Description


.. image::

.. image::

Kaneda is a Python library that allows to report events and metrics of your applications.
It provides a several builtin :doc:`metrics` methods in order to store any amount of data that you want to then
analyze it or for performance studies.

Basic usage

First of all, you need to install `Kaneda` package::

pip install kaneda

Then you need a backend in order to keep data in a persistent storage.
The following example it shows how to send metrics with Elasticsearch as a backend:

.. code-block:: python

from kaneda.backend import ElasticsearchBackend
from kaneda import Metrics

backend = ElasticsearchBackend(index_name='myindex', app_name='myapp', host='localhost',
port=9200, user='kaneda', password='kaneda')
metrics = Metrics(backend=backend)
metrics.gauge('answer_of_life', 42)

* Builtin `metrics <>`_ functions and custom metric reports.
* Configurable reporting `backends <>`_ classes and `asynchronous <>`_ queue classes.
* Builtin Elasticsearch, MongoDB, InfluxDB and RethinkDB backends.
* Builtin Celery, RQ and ZMQ asynchronous queue classes.
* Django support.

Release History

This version
History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(15.0 kB) Copy SHA256 Hash SHA256
Source May 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting