Skip to main content
Django-Pinba
============

What's that
-----------
App for collect Django statistics into PinbaEngine.


Publications
-----------
* `Completely installation and usage on production <http://habrahabr.ru/post/200128/>`_.


Quick installation
------------------
1. Using pip:

.. code-block:: bash

$ pip install django-pinba


2. Add ``pinba.middleware.PinbaMiddleware`` middleware to ``MIDDLEWARE_CLASSES`` on your settings

3. Add pinba-engine server configuration:

.. code-block:: python

PINBA_SERVER = '192.168.55.11'
PINBA_PORT = 30002
PINBA_ENABLED = True
PINBA_DISABLE_ADMIN = True


Timers
------
.. code-block:: python

from time import sleep
from pinba.timers import get_monitor

monitor = get_monitor()
timer = monitor.timer(foo='bar')
timer.start()
sleep(0.5)
timer.stop()
monitor.send()


Requirements
------------
* PinbaEngine==1.1.0
* Pinboard==1.5.2
* pynba==0.5.4


Credits
-------

- PinbaEngine_
- Pynba_
- PinBoard_

.. _PinbaEngine: http://pinba.org
.. _Pynba: https://github.com/johnnoone/pynba
.. _PinBoard: https://github.com/intaro/pinboard


.. image:: https://d2weczhvl823v0.cloudfront.net/gotlium/django-pinba/trend.png
:alt: Bitdeli badge
:target: https://bitdeli.com/free

Metadata

Release files for django-pinba 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-pinba 1.3.0
File Size Uploaded
django-pinba-1.3.0.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-pinba 1.3.0
File Interpreter ABI Platform
django_pinba-1.3.0-py2-none-any.whl Python 2 none any Details

Total release size: 16.0 kB

Release files / django-pinba-1.3.0.tar.gz

Download URL django-pinba-1.3.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
db423df9850d20db14933d16f1307d5ba56d476eaf0724ef8831ec0ba02b0098
BLAKE2b-256 checksum
How to use checksums
e9774d7bcb5cc6240bef216139f650593a17fa76bd99faa800f6c0ef7cadc249
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_pinba-1.3.0-py2-none-any.whl

Download URL django_pinba-1.3.0-py2-none-any.whl
Size 5.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
0aaebfb66a3b645d90e1dd9b0943e045927fc91c9de20de21ba2ce7b98341bc0
BLAKE2b-256 checksum
How to use checksums
2e5aa15a39e91fb6f77c4e4d4cffb599693543c9e8a5e9d3d40f3794ddf5e5f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

1.1.0

2 release files

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page