Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Build Status

python-appoptics

The ‘appoptics’ module provides automatic instrumentation and metrics/tracing SDK hooks for use with AppOptics.

The appoptics module provides middleware and other instrumentation for popular web frameworks such as Django, Tornado, Pyramid, and WSGI, as well as commonly used libraries like SQLAlchemy, httplib, redis, memcached. Read more at our full documentation.

Notice

This package has been renamed to appoptics_apm, please install or upgrade to the appoptics_apm package at your earliest convenience.

appoptics version 2.0.6 is the last release under this package name and will no longer be maintained.

Installing

The Python instrumentation for AppOptics uses a module named appoptics, which is distributed via pypi.

pip install appoptics

Alternately, you can use this repository to build a local copy.

Configuring

See our documentation on configuring AppOptics for python.

Upgrading

To upgrade an existing installation, you simply need to run:

pip install appoptics --upgrade

To upgrade to the new appoptics_apm package please refer to our documentation on upgrading from appoptics 2.x

pip install appoptics_apm
pip uninstall appoptics

Running the Tests

Test dependencies

The test suite depends on the presence of several database and cache servers; consequently, the easiest way to get up and running is to use the included Dockerfile and run_docker_dev.sh.

To build the development container image:

docker build -f Dockerfile -t ptdev:py27 .

Then run an interactive shell to run test suite:

./run_docker_dev.sh

To run tests, in the container’s shell, against the current version of Python:

./run_tests.sh

To run tests, in the container’s shell, against the various versions of Python:

docker-compose build  && docker-compose up

Test directory layout

Tests in test/unit are actually functional tests; naming is for historic reasons. Tests in test/manual are for manual verification of certain behaviors.

Support

If you find a bug or would like to request an enhancement, feel free to file an issue. For all other support requests, please email support@appoptics.com.

Contributing

You are obviously a person of great sense and intelligence. We happily appreciate all contributions to the appoptics module whether it is documentation, a bug fix, new instrumentation for a library or framework or anything else we haven’t thought of.

We welcome you to send us PRs. We also humbly request that any new instrumentation submissions have corresponding tests that accompany them. This way we don’t break any of your additions when we (and others) make changes after the fact.

Developer Resources

We have made a large effort to expose as much technical information as possible to assist developers wishing to contribute to the AppOptics module. Below are the three major sources for information and help for developers:

  • The AppOptics Knowledge Base has a large collection of technical articles or, if needed, you can submit a support request directly to the team.

If you have any questions or ideas, don’t hesitate to contact us anytime.

To see the code related to the C++ extension, take a look in appoptics/swig.

License

Copyright (c) 2017 SolarWinds, LLC

Released under the Librato Open License

Metadata

Release files for appoptics 2.0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for appoptics 2.0.6.0
File Size Uploaded Provenance Actions
appoptics-2.0.6.0.zip 4.7 MB Without provenance Details for appoptics-2.0.6.0.zip

Release files / appoptics-2.0.6.0.zip

Download URL appoptics-2.0.6.0.zip
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
23d8014a4e1cb9cd12500b98220b1df20100bbb0244b6de4287f97712824be52
BLAKE2b-256 checksum
How to use checksums
38a2eb3dba90011086366de3086f09a0af82c4bd0a4093949f69bc4f22eabb84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for appoptics 2.0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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