Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.01 KB

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

Install

Install the latest version of the package from PyPI:

pip install inspector-python

Get a new Ingestion Key

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.

Initialization

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')

Official documentation

Checkout our official documentation for more detailed tutorial.

License

This library is licensed under the MIT license.