Model Performance Metrics Monitor Exporter
Project description
Installation
pip install vsp-model-insight-azuretable
Prerequisites
Create an VSP Model Monitor resource and get the connection string, more information can be found in the official docs.
Place your connection string directly into your code.
Usage
Log
The Model Performance Log Handler allows you to export Python logs to VSP.
This example shows how to send a warning level log to Azure Monitor.
import logging
from vsp_model_insight.azuretable import ModelPerformanceLogHandler
logging.basicConfig(level=logging.DEBUG)
rootlogger = logging.getLogger()
handler = ModelPerformanceLogHandler(connection_string='****')
rootlogger.addHandler(handler)
properties = {'model_signature': 'demo','model_performance': {'key_1': 'value_1', 'key_2': 'value_2'}}
logging.info(f"{datetime.now()}",extra=properties)
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vsp-model-insight-azuretable-0.1.0.tar.gz.
File metadata
- Download URL: vsp-model-insight-azuretable-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
541aa6f8b83e2c24f621682200b773809c0bc37a2f1a9c190e9c3c59803dfc38
|
|
| MD5 |
3db4ae5a22e3391fa5abdfe06f727320
|
|
| BLAKE2b-256 |
f6532b130dca2429b2e682b5ff3b437a6717a7f1d0409d38cec974acad354e6f
|
File details
Details for the file vsp_model_insight_azuretable-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: vsp_model_insight_azuretable-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef5a07551a9197aed017cec0acdf5a7573fd0888e8a0c981d1c83bf4a894fb87
|
|
| MD5 |
2720e5017efbb6cd4062a4bb305b019e
|
|
| BLAKE2b-256 |
95250e1c27ff0571223d5030f663de8633b2a1824bb97407b881b21c4b80c45b
|