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.1b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30904a1ff58a4e240588c65b575af337b654a6f1dff55dff16ef5f9e57cf1da2 |
|
MD5 | e189831a67e22c94085316525af8a7f7 |
|
BLAKE2b-256 | 0f431bb68f9142b4969506d0eab304a8f1fc8d75dec6896e0def1b7c59657133 |