Skip to main content

Python Distributed Tracing & Metrics Sensor for Instana.

Project description

Instana

The instana Python package collects key metrics and distributed traces for Instana.

This package supports Python 3.8 or greater.

Any feedback is welcome. Happy Python visibility.

CircleCI OpenTracing Badge

Installation

Instana remotely instruments your Python web servers automatically via Instana AutoTrace™️. To configure which Python processes this applies to, see the configuration page.

Manual Installation

If you wish to instrument your applications manually, you can install the package with the following into the virtualenv, pipenv, or container (hosted on PyPI):

pip install instana

or to alternatively update an existing installation:

pip install -U instana

Activating Without Code Changes

The Instana package can then be activated without any code changes required by setting the following environment variable for your Python application:

export AUTOWRAPT_BOOTSTRAP=instana

This will cause the Instana Python package to instrument your Python application automatically. Once it finds the Instana host agent, it will report Python metrics and distributed traces.

Activating via Import

Alternatively, if you prefer the manual method, import the instana package inside of your Python application:

import instana

See also our detailed installation document for additional information covering Django, Flask, End-user Monitoring (EUM), and more.

Documentation

You can find more documentation covering supported components and minimum versions in the Instana documentation portal.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/instana/python-sensor.

More

Want to instrument other languages? See our Node.js, Go, Ruby instrumentation or many other supported technologies.

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

instana-2.5.5.tar.gz (228.7 kB view details)

Uploaded Source

Built Distribution

instana-2.5.5-py3-none-any.whl (135.2 kB view details)

Uploaded Python 3

File details

Details for the file instana-2.5.5.tar.gz.

File metadata

  • Download URL: instana-2.5.5.tar.gz
  • Upload date:
  • Size: 228.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for instana-2.5.5.tar.gz
Algorithm Hash digest
SHA256 8c7fcbe426187c4df043695936f470eb534eabed8e8b543940b3ddb62c6f3091
MD5 c17938c7ddbf7d2f0178bd931a66643d
BLAKE2b-256 83545eb4b304c4f8614b6eb80a7914ba9ee2ac4addd44e25d93add6c849a8a6e

See more details on using hashes here.

File details

Details for the file instana-2.5.5-py3-none-any.whl.

File metadata

  • Download URL: instana-2.5.5-py3-none-any.whl
  • Upload date:
  • Size: 135.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for instana-2.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6dfee58a5b589c1d927ea9fd9947a7bf083d0570fd57d992a20b24fd3fd107f5
MD5 3f89e05d6f0fc1b27d596af0cee32b52
BLAKE2b-256 e2fce25b2d4eade83a3c49f2e8f4c6c6e11c2c30d35e07cc863770d9f542419f

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