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.1b3.tar.gz (13.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: aspecto-ot-auto-instrumentation-0.1b3.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for aspecto-ot-auto-instrumentation-0.1b3.tar.gz
Algorithm Hash digest
SHA256 109fae3ddebbf84041309ccbc8d0bddc3370eeddf783328a693494e6397947f7
MD5 21468d23f708ee143ddd8a371991c6c3
BLAKE2b-256 582fb13d64b3eaab4fde1ace986d1173f17ca71d4c3c41654ef708d39beeee11

See more details on using hashes here.

Supported by

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