AppDynamics Python Agent Linux x64 Binary Dependencies
This package provides native binary dependencies specifically for the AppDynamics Python agent on Linux x64 systems. It is not intended for direct application use or import. The current version is 26.3.0, and its release cadence is tied to the main AppDynamics Python agent releases, providing underlying C extensions and other platform-specific binaries.
Common errors
-
ERROR: No matching distribution found for appdynamics-bindeps-linux-x64
cause This error typically occurs when pip cannot find a suitable package for your operating system or Python version. Common causes include attempting to install on a non-Linux x64 platform or an unsupported Python version.fixVerify that your environment is Linux x64 and that your Python version is compatible with the AppDynamics agent. If necessary, check the AppDynamics documentation for supported Python versions and manual installation steps for specific platforms. -
ImportError: libappd.so: cannot open shared object file: No such file or directory
cause This error indicates that the AppDynamics Python agent cannot locate its native libraries (provided by `appdynamics-bindeps-linux-x64`). This can happen if the `bindeps` package failed to install correctly, was corrupted, or if environment variables like `LD_LIBRARY_PATH` are incorrectly configured (though less common for pip-installed packages).fixReinstall both `appdynamics` and `appdynamics-bindeps-linux-x64`. Ensure there are no errors during installation. Check file permissions in the Python site-packages directory. If running in a container, verify the image includes necessary base libraries. -
AppDynamics agent fails to start or report data without specific error messages during initialization.
cause While not a direct error message from `appdynamics-bindeps-linux-x64`, a silently failing agent can be a symptom of underlying native library issues if `bindeps` is not correctly installed or compatible. The Python agent might partially load but fail in its C extension parts.fixEnsure `appdynamics-bindeps-linux-x64` is installed correctly for your platform. Check the AppDynamics agent logs (configured via `APPDYNAMICS_LOG_FILE` or similar) for more detailed error messages related to native library loading or initialization failures. Verify full system compatibility with AppDynamics requirements.
Warnings
- gotcha This package is platform-specific and only intended for Linux x64 systems. Installing it on other operating systems (e.g., Windows, macOS) or architectures (e.g., ARM) will likely result in installation errors or a non-functional AppDynamics agent.
- gotcha This package is a binary dependency for the main `appdynamics` Python agent and is not meant for direct application import or interaction. Users should typically install `appdynamics`, which usually handles the installation of its required binary dependencies like `appdynamics-bindeps-linux-x64` automatically.
- gotcha Mismatch between `appdynamics-bindeps-linux-x64` version and the `appdynamics` agent version can lead to runtime errors or agent instability, as native libraries might not be compatible.
Install
-
pip install appdynamics-bindeps-linux-x64 -
pip install appdynamics
Quickstart
# This package (appdynamics-bindeps-linux-x64) is a dependency and not directly imported.
# To use the AppDynamics Python Agent, you would typically install 'appdynamics'
# which usually pulls in necessary binary dependencies automatically.
# Example of main AppDynamics agent initialization (requires `pip install appdynamics`):
import os
import appdynamics.agent
# Configure Agent via Environment Variables (recommended)
# Example:
# os.environ['APPDYNAMICS_AGENT_APPLICATION_NAME'] = 'MyPythonApp'
# os.environ['APPDYNAMICS_CONTROLLER_HOST_NAME'] = 'your-controller.example.com'
# os.environ['APPDYNAMICS_CONTROLLER_PORT'] = '8090'
# os.environ['APPDYNAMICS_AGENT_ACCOUNT_NAME'] = 'customer1'
# os.environ['APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY'] = os.environ.get('APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY', 'YOUR_ACCESS_KEY')
# Initialize the agent
appdynamics.agent.initialize()
# Your application code would go here
# For example, instrumenting a function:
# @appdynamics.agent.track_transaction()
# def my_monitored_function():
# print("Executing monitored function...")
print("AppDynamics agent initialized (if configured via env vars).")
print("Remember appdynamics-bindeps-linux-x64 provides underlying native libraries.")