Inspector is a Code Execution Monitoring tool to help developers find out technical problems in their application automatically, before customers do.
- Python >= 3.x
Install the latest version of the package from PyPI:
pip install inspector-python
You need an Ingestion Key to create an instance of the Inspector class.
You can obtain a key creating a new project in your Inspector dashboard.
Here's a code example of how Inspector is normally initialized in a Python script:
from inspector import Configuration, Inspector
config = Configuration('xxxxxxxxxxxxxxxxxxx')
inspector = Inspector(config)
inspector.start_transaction('my python script')
Checkout our official documentation for more detailed tutorial.
This library is licensed under the MIT license.