An open API service indexing awesome lists of open source software.

https://github.com/davydany/caduceus

Monitor your Requests
https://github.com/davydany/caduceus

Last synced: over 1 year ago
JSON representation

Monitor your Requests

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)