AppOptics APM libraries, instrumentation, and web middleware components for WSGI, Django, and Tornado.
Project description
appoptics_apm
The ‘appoptics_apm’ module provides automatic instrumentation and metrics/tracing SDK hooks for use with AppOptics.
The appoptics_apm 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.
Installing
The Python instrumentation for AppOptics uses a module named appoptics_apm, which is distributed via pypi.
pip install appoptics_apm
Alternately, you can use this repository to build a local copy.
Configuring
See our documentation on configuring the python instrumentation.
Upgrading
To upgrade an existing installation, you simply need to run:
pip install --upgrade appoptics_apm
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_apm 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_apm/swig.
License
Copyright (c) 2017 SolarWinds, LLC
Released under the Librato Open License
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
File details
Details for the file appoptics_apm-3.4.8.tar.gz
.
File metadata
- Download URL: appoptics_apm-3.4.8.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.1 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14927dc3872fc3164796e8090de6c4745d51a8881a527d209dc887496e571b0 |
|
MD5 | 6805e4628054e43b0c2afe1f3e0fc5a8 |
|
BLAKE2b-256 | 7cf38e5b136542154cd9157efeee937f1d1e1f6eef0d2dfc16ab43a75dda09d4 |