Skaff Telemetry
Description
The skaff_telemetry module is designed to enhance accelerator monitoring by sending HTTPS requests to a specified backend each time a function is invoked with the decorator. This capability is particularly useful for applications that require real-time monitoring or logging of function usage.
Installation
To get started with the module, install it using pip, the Python package installer. This will download and install the module along with any necessary dependencies automatically.
pip install skaff-telemetry
Python 3.10 or 3.11 is needed
Usage
Integrating sonde into your accelerator is straightforward. First, import the decorator from the module. Then, apply the sonde decorator above any function you wish to monitor. Each time the decorated function is called, sonde will send an HTTPS request to your configured backend, allowing you to track when and how often the function is used.
The following arguments must passed to the decorator:
accelerator_name: name of the acceleratorversion_number: version of the accelerator (last version : 0.0.4)project_name: if accessible, pass the name of the project in which the accelator will be used.
Example
from skaff_telemetry import skaff_telemetry
@skaff_telemetry(
accelerator_name="test_python",
version_number="0.0.4",
project_name="xxx",
)
def example_func():
print("hello")
example_func()
Metadata
Release files for skaff-telemetry 0.1.4
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 |
|---|---|---|---|---|
| skaff_telemetry-0.1.4.tar.gz | 7.3 kB | Without provenance | Details for skaff_telemetry-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skaff_telemetry-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for skaff_telemetry-0.1.4-py3-none-any.whl |
Total release size: 15.3 kB
Release files / skaff_telemetry-0.1.4.tar.gz
| Download URL | skaff_telemetry-0.1.4.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06ccbaade3d7037f42d71fcb73eb107b4f4fbfd0adfdc7a587e411387124a9a0
|
|
BLAKE2b-256 checksum How to use checksums |
4c9a3ff6d596d5a52acb7b7d94b637c07fc0ee134e125e0acbd883648e543f2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.1 Darwin/23.0.0
|
Release files / skaff_telemetry-0.1.4-py3-none-any.whl
| Download URL | skaff_telemetry-0.1.4-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e483d6d15e93374101e82713edea4bb39945ecbc3cf1070350c47d5ffeabd889
|
|
BLAKE2b-256 checksum How to use checksums |
54ca50d7528dde1111f9acd53e09def46a72819ca2ee98e0d0a554bc69975fdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.1 Darwin/23.0.0
|
Security for skaff-telemetry 0.1.4
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.