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.
Metadata
Release files for inspector-django 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inspector-django-0.1.3.tar.gz | 7.6 kB | Without provenance | Details for inspector-django-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inspector_django-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for inspector_django-0.1.3-py3-none-any.whl |
Total release size: 16.7 kB
Release files / inspector-django-0.1.3.tar.gz
| Download URL | inspector-django-0.1.3.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6860fb7b3145bcf2baeb3276fa05ae213e569a093d65849dfb22ab1e85752976
|
|
BLAKE2b-256 checksum How to use checksums |
063752744a6c1d2e1523e3f6890b8aa6e5034bb279fb948b6e0382b9c3bba9df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / inspector_django-0.1.3-py3-none-any.whl
| Download URL | inspector_django-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
372fbbd1bbf3424ac90b4e0f5c8353e18563b6a26c158710f703b01eaa36f3d5
|
|
BLAKE2b-256 checksum How to use checksums |
bc98c0adf751b2132a3c525ae34eb2b7884ed00aaa8114365ea0d3f28f63ab44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for inspector-django 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.