Python Distributed Tracing & Metrics Sensor for Instana.
Actively maintained. Last release 2 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
pip install instanaInstana
The instana Python package collects key metrics and distributed traces for Instana.
Any feedback is welcome. Happy Python visibility.
[!NOTE] Support for OpenTracing is deprecated starting on version 3.0.0. If you still want to use it, rely on any version earlier than 3.0.0 or use the
legacy_2.xbranch.
Installation
You can use automatic installation or manual installation as described in the following sections:
Automatic installation
Instana remotely instruments your Python applications automatically by Instana AutoTrace webhook in Kubernetes and Red Hat OpenShift clusters. However, if you prefer to install the package manually, see Manual Installation as follows.
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