Skip to main content

Real-time Code Execution Monitoring of your Django applications.

Project description

Inspector | Code Execution Monitoring Tool

Inspector is a Code Execution Monitoring tool to help developers find out technical problems in their application automatically, before customers do.

Requirements

  • Python >= 3.x
  • Django >= 3.x

Install

Install the latest version of the package from PyPI:

pip install inspector-django

Configure the Ingestion Key

In settings.py add the ingestion key of your project:

INSPECTOR_INGESTION_KEY = "xxxxxxxxx"

Get a new Ingestion Key

You can get a new key creating a new project in your Inspector dashboard.

Activate the module

Add inspector_django to installed apps:

INSTALLED_APPS = [
    ....,
 	
    'inspector_django',
]

Register the middleware

To monitor the incoming HTTP traffic you need to register the middleware.

We suggest to add the middleware at the top of the list:

MIDDLEWARE = [
	'inspector_django.InspectorMiddleware',
	
	....
]

Ignore URLs

It could be needed to exclude some parts of your application from your monitoring data. It could be something that doesn't impact your user experience, or if you prefer to focus your attention on a small part of your system.

The INSPECTOR_IGNORE_URL also support wildcards:

INSPECTOR_IGNORE_URL = [
     'static*',
     'media*'
     'assets*',
     'js*',
     'css*',
]

This is the default array. You have to copy this property in your settings.py file and then add your custom entries.

Official documentation

Checkout our official documentation for more detailed tutorial.

License

This library is licensed under the MIT license.

Project details


Download files

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

Source Distribution

inspector-django-0.1.3.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

inspector_django-0.1.3-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file inspector-django-0.1.3.tar.gz.

File metadata

  • Download URL: inspector-django-0.1.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for inspector-django-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6860fb7b3145bcf2baeb3276fa05ae213e569a093d65849dfb22ab1e85752976
MD5 d2c6d7c1e4ef050dba5cfd2f6d37eed3
BLAKE2b-256 063752744a6c1d2e1523e3f6890b8aa6e5034bb279fb948b6e0382b9c3bba9df

See more details on using hashes here.

File details

Details for the file inspector_django-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for inspector_django-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 372fbbd1bbf3424ac90b4e0f5c8353e18563b6a26c158710f703b01eaa36f3d5
MD5 a39bb0ed77edf7fd141f142e391c4821
BLAKE2b-256 bc98c0adf751b2132a3c525ae34eb2b7884ed00aaa8114365ea0d3f28f63ab44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page