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.18.0.tar.gz (370.6 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.18.0-py3-none-any.whl (199.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instana-3.18.0.tar.gz
  • Upload date:
  • Size: 370.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for instana-3.18.0.tar.gz
Algorithm Hash digest
SHA256 0f9ab8284fd9bcfa8db2ec65c8ad9686a990b9028a744f848b0411c2df252545
MD5 fa7a8d2732bb18ef15562d53d3b49896
BLAKE2b-256 d1112e9660c0de923f16c756ef6479bc84b24dc1d5a2ce982939a82d1bded462

See more details on using hashes here.

Provenance

The following attestation bundles were made for instana-3.18.0.tar.gz:

Publisher: pkg_release.yml on instana/python-sensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: instana-3.18.0-py3-none-any.whl
  • Upload date:
  • Size: 199.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for instana-3.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22f986aad631116218931b2d2f2c185cde5a4b4ff3c8677cdf5aecb7cd687813
MD5 ffd6375232ba088a07b55676c6799581
BLAKE2b-256 7285672ab74ea1d50b8254f740f2796a7cd36cf8cda1baa385993dfd57a4f532

See more details on using hashes here.

Provenance

The following attestation bundles were made for instana-3.18.0-py3-none-any.whl:

Publisher: pkg_release.yml on instana/python-sensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

3.18.0 This release

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