Skip to main content

Instana

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

Any feedback is welcome. Happy Python visibility.

CircleCI OpenTracing Badge OpenTelemetry Badge PyPI - Python Version GitHub Release

[!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.x branch.

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

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 With Code Changes

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.

Download files

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

Source Distribution

instana-3.19.0.tar.gz (378.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

instana-3.19.0-py3-none-any.whl (202.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instana-3.19.0.tar.gz
  • Upload date:
  • Size: 378.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for instana-3.19.0.tar.gz
Algorithm Hash digest
SHA256 bda37ad468c61979069c45775a660b272f472fbb0dde75e1b172138215152772
MD5 a10bd3afd7554dacecc88929e5eb575e
BLAKE2b-256 d2e0100a55001b52a0cf20b0c31ca7e65089570e244d80c571a187ee5b1430bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: instana-3.19.0-py3-none-any.whl
  • Upload date:
  • Size: 202.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for instana-3.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7c9006a3f000466c3d859f28c4a466e224e960b67623a533e1c2e1bd78f49ef
MD5 124ec8c1670c5c84e2c0be5939183fbd
BLAKE2b-256 c9ae524fdaac8144b8d5e4afbe2aed2251f57d67b493b304d5762b696e1f5a53

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.19.0 This release

2 files

3.18.0

2 files

3.17.0

2 files

3.16.0

2 files

3.15.0

2 files

3.14.0

2 files

3.13.0

2 files

3.12.0

2 files

3.11.1

2 files

3.11.0

2 files

3.10.2

2 files

3.10.1

2 files

3.10.0

2 files

3.9.4

2 files

3.9.3

2 files

3.9.2

2 files

3.9.1

2 files

3.9.0

2 files

3.8.3

2 files

3.8.2

2 files

3.8.1

2 files

3.8.0

2 files

3.7.2

2 files

3.7.1

2 files

3.7.0

2 files

3.6.0

2 files

3.5.0

2 files

3.4.2

2 files

3.4.1

2 files

3.4.0

2 files

3.3.0

2 files

3.2.1

2 files

3.2.0

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.6.0

2 files

2.5.5

2 files

2.5.4

2 files

2.5.3

2 files

1.38.2

2 files

1.38.1

2 files

1.38.0

2 files

1.37.4

2 files

1.37.3

2 files

1.37.2

2 files

1.37.1

2 files

1.37.0

2 files

1.36.2

2 files

1.36.1

2 files

1.36.0

2 files

1.35.4

2 files

1.35.3

2 files

1.35.2

2 files

1.35.1

2 files

1.35.0

2 files

1.34.1

2 files

1.34.0

2 files

1.33.5

2 files

1.33.4

2 files

1.33.3

2 files

1.33.2

2 files

1.33.1

2 files

1.33.0

2 files

1.32.2

2 files

1.32.1

2 files

1.32.0

2 files

1.31.1

2 files

1.31.0

2 files

1.30.2

2 files

1.30.1

2 files

1.30.0

2 files

1.29.1

2 files

1.29.0

2 files

1.28.1

1 file

1.28.0

1 file

1.27.3

1 file

1.27.2

1 file

1.27.1

1 file

1.27.0

1 file

1.26.1

1 file

1.26.0

1 file

1.25.7

1 file

1.25.6

1 file

1.25.5

1 file

1.25.4

1 file

1.25.3

1 file

1.25.2

1 file

1.25.1

1 file

1.25.0

1 file

1.24.1

1 file

1.24.0

1 file

1.23.3

1 file

1.23.2

1 file

1.23.1

1 file

1.23.0

1 file

1.22.2

1 file

1.22.1

1 file

1.22.0

1 file

1.21.0

1 file

1.20.4

1 file

1.20.3

1 file

1.20.2

1 file

1.20.1

1 file

1.20.0

1 file

1.19.0

1 file

1.18.1

1 file

1.18.0

1 file

1.17.5

1 file

1.17.4

1 file

1.17.3

1 file

1.17.2

1 file

1.17.1

1 file

1.17.0

1 file

1.16.1

2 files

1.16.0

2 files

1.15.6

2 files

1.15.5

2 files

1.15.4

2 files

1.15.3

2 files

1.15.2

2 files

1.15.1

2 files

1.15.0

2 files

1.14.4

2 files

1.14.3

2 files

1.14.2

2 files

1.14.1

2 files

1.14.0

2 files

1.13.0

2 files

1.12.0

2 files

1.11.6

2 files

1.11.5

2 files

1.11.4

1 file

1.11.3

1 file

1.11.2

1 file

1.11.1

1 file

1.11.0

1 file

1.10.7

1 file

1.10.6

1 file

1.10.5

1 file

1.10.4

1 file

1.10.3

1 file

1.10.2

1 file

1.10.1

1 file

1.10.0

1 file

1.9.1

1 file

1.9.0

1 file

1.8.12

1 file

1.8.11

1 file

1.8.10

1 file

1.8.9

1 file

1.8.8

1 file

1.8.7

1 file

1.8.6

1 file

1.8.5

1 file

1.8.4

1 file

1.8.3

1 file

1.8.2

1 file

1.8.1

1 file

1.8.0

1 file

1.7.1

1 file

1.7.0

1 file

1.6.0

1 file

1.5.0

1 file

1.4.0

1 file

1.3.0

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.11.1

1 file

0.11.0

1 file

0.10.1

1 file

0.10.0

1 file

0.9.1

1 file

0.9.0

1 file

0.8.0

1 file

0.7.12

1 file

0.7.11

1 file

0.7.10

1 file

0.7.9

1 file

0.7.8

1 file

0.7.7

1 file

0.7.6

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.12

1 file

0.6.11

1 file

0.6.10

1 file

0.6.9

1 file

0.6.8

1 file

0.6.7

1 file

0.6.6

1 file

0.6.5

1 file

0.6.4

1 file

0.6.3

1 file

0.6.2

1 file

0.6.1

1 file

0.6.0

1 file

0.5.6

1 file

0.5.5

1 file

0.5.4

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.0.1.2

1 file

0.0.1.1

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page