Pre-release
This release is a pre-release and may not be stable for production use.
Aspecto OpenTelemetry Auto Instrumentation
This library does all the magic.
Installation
pip install aspecto-ot-auto-instrumentation
Usage
from opentelemetry.aspecto import AspectoInstrumentor
AspectoInstrumentor(
service_name="demo-flask",
aspecto_auth="your-aspecto-token",
env="development"
).instrument()
AspectoInstrumentor params:
- service_name - mandatory, the name of the service you're instrumenting
- aspecto_auth - your token that was obtained from aspecto website.
Alternatively, your can pass it asASPECTO_AUTHenv param, or place anaspecto.jsonfile at the project root, containing an object withtokenkey. - env - optional, if none provided we will use
empty.
References
Release files for aspecto-ot-auto-instrumentation 0.1b3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aspecto-ot-auto-instrumentation-0.1b3.tar.gz | 13.9 kB | Details |
Release files / aspecto-ot-auto-instrumentation-0.1b3.tar.gz
| Download URL | aspecto-ot-auto-instrumentation-0.1b3.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
109fae3ddebbf84041309ccbc8d0bddc3370eeddf783328a693494e6397947f7
|
|
BLAKE2b-256 checksum How to use checksums |
582fb13d64b3eaab4fde1ace986d1173f17ca71d4c3c41654ef708d39beeee11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|