Aspecto Auto Instrumentation for OpenTelemetry
Project description
Aspecto OpenTelemetry Auto Instrumentation
This package is using OpenTelemetry to export your api traces to Aspecto.
Supported integrations:
- Flask
- requests
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.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b95c7cfb351dd1c8192e98607622355ccd90d646176ca1611a428d94145dba1 |
|
MD5 | 744e08b316a70501b91cd9ccacd143fa |
|
BLAKE2b-256 | e30b4af9ae5496d56b4fd3da5da85a6e843fa800451ae714efbf709f2ccef44c |