Skip to main content

Aspecto Auto Instrumentation for OpenTelemetry

Project description

Aspecto OpenTelemetry Auto Instrumentation

Build Status

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 as ASPECTO_AUTH env param, or place an aspecto.json file at the project root, containing an object with token key.
  • env - optional, if none provided we will use empty.

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aspecto-ot-auto-instrumentation-0.1.dev1.tar.gz (15.6 kB view details)

Uploaded Source

File details

Details for the file aspecto-ot-auto-instrumentation-0.1.dev1.tar.gz.

File metadata

  • Download URL: aspecto-ot-auto-instrumentation-0.1.dev1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for aspecto-ot-auto-instrumentation-0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 5de004eb520a06bacaa30a241a19d09ead24b15b6b821557fe7dc7dd4ff7e8d9
MD5 50dd286445cec522c68f34631ed85f76
BLAKE2b-256 5bc69589a265017e8e2a013dffc0f50c3275629d178557468b6af3dcf07bf636

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page