Configurable Python library for metrics and events reporting
Project description
Kaneda is a Python library that allows to report events and metrics of your applications. It provides a several builtin metrics methods in order to store any amount of data that you want to then analyze it or for performance studies.
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:
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)
Features
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.
Documentation
Visit the documentation for an in-depth look at Kaneda.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kaneda-1.0.tar.gz
.
File metadata
- Download URL: kaneda-1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6960a68fdf5375d24daf58fff3692697e1d8de7c7d3508405c26b144cc17350 |
|
MD5 | d18c9e8f706a897148f043dd6b2137e5 |
|
BLAKE2b-256 | bb2fc83e6bca56deb070670c754875cd1edc6c55395dce5084b5da83a205a0bc |