Aspecto Auto Instrumentation for OpenTelemetry
Project description
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_AUTH
env param, or place anaspecto.json
file at the project root, containing an object withtoken
key. - env - optional, if none provided we will use
empty
.
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
Close
Hashes for aspecto-ot-auto-instrumentation-0.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de004eb520a06bacaa30a241a19d09ead24b15b6b821557fe7dc7dd4ff7e8d9 |
|
MD5 | 50dd286445cec522c68f34631ed85f76 |
|
BLAKE2b-256 | 5bc69589a265017e8e2a013dffc0f50c3275629d178557468b6af3dcf07bf636 |