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.1b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12895e22ec049f125eaa830532f5c79cb7cd460df7a1719da799275607d7fc8 |
|
MD5 | 63331fb04b4f0a2c3a2384648f627b13 |
|
BLAKE2b-256 | 4ede49a7c99bf397eb22f5a61814bf7f93f122070234100fff258e31667ecf22 |