https://github.com/inspector-apm/inspector-python
Connect Python applications to Inspector monitoring dashboard.
https://github.com/inspector-apm/inspector-python
monitoring
Last synced: 5 months ago
JSON representation
Connect Python applications to Inspector monitoring dashboard.
- Host: GitHub
- URL: https://github.com/inspector-apm/inspector-python
- Owner: inspector-apm
- License: mit
- Created: 2022-09-16T15:50:29.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T16:58:21.000Z (about 1 year ago)
- Last Synced: 2025-01-07T18:35:33.229Z (6 months ago)
- Topics: monitoring
- Language: Python
- Homepage: https://inspector.dev
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```shell
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](https://app.inspector.dev).## Initialization
Here's a code example of how Inspector is normally initialized in a Python script:```python
from inspector import Configuration, Inspectorconfig = Configuration('xxxxxxxxxxxxxxxxxxx')
inspector = Inspector(config)
inspector.start_transaction('my python script')
```## Official documentation
Checkout our [official documentation](https://docs.inspector.dev/guides/python) for more detailed tutorial.## License
This library is licensed under the [MIT](LICENSE) license.