https://github.com/davydany/caduceus
Monitor your Requests
https://github.com/davydany/caduceus
Last synced: over 1 year ago
JSON representation
Monitor your Requests
- Host: GitHub
- URL: https://github.com/davydany/caduceus
- Owner: davydany
- Created: 2017-06-24T01:04:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T06:24:49.000Z (about 9 years ago)
- Last Synced: 2025-02-16T13:31:58.538Z (over 1 year ago)
- Language: Python
- Size: 767 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
.. figure:: https://github.com/davydany/caduceus/raw/master/img/caduceus-logo.png
:alt: caduceus
.. image:: https://travis-ci.org/davydany/caduceus.svg?branch=master
:target: https://travis-ci.org/davydany/caduceus
.. image:: https://badge.fury.io/py/caduceus.svg
:target: https://badge.fury.io/py/caduceus
Caduceus
========
Caduceus allows you to inspect your HTTP requests and finding more
details about what happens behind the scenes on each of your requests.
Install
-------
**NOTE:** Caduceus needs Python 3 to run.
.. code:: bash
pip install --upgrade caduceus
Register
--------
Go to ``caduceus.davydany.com`` to register your application with
Caduceus and get your own tenant ID.
Setup
-----
Change your Django Application’s ``wsgi.py`` to be:
::
"""
WSGI config for YOUR_PROJECT_NAME project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from caduceus.wsgi import Caduceus
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "YOUR_PROJECT_NAME.settings.dev")
tenant_id = 'YOUR-TENANT-ID'
application = Caduceus(get_wsgi_application(), tenant_id)