Python is a popular programming language among developers and business owners due to its simplicity and extensive ecosystem that covers a wide range of frameworks and libraries, especially in the AI/ML space. However, keeping track of all Python dependencies and checking used libraries for potential vulnerabilities requires a comprehensive observability solution.
Starting with OneAgent version 1.309 and Managed version 1.310, you can monitor your Python processes, trace your Python apps and services end-to-end, and analyze your Python apps for vulnerabilities.
Infrastructure Observability
Observe the health and availability of your Python processes and identify Python garbage collection bottlenecks across all generations and thread misbehavior.
The following Python process metrics are available:
- Python GC collections count (gen0, gen1, gen2)
- Python GC collected objects (gen0, gen1, gen2)
- Python GC uncollectable objects (gen0, gen1, gen2)
- Python GC time (gen0, gen1, gen2)
- Number of active Python threads
- Number of allocated memory (heap) blocks
To get started
- Go to Settings > Monitoring > Monitoring technologies.
- Find Python and enable Monitor Python.
- Create a process monitoring rule to enable deep monitoring of the selected processes.
Application Observability
Automatically detect your Python applications across every tier and diagnose anomalies with Davis AI to determine the root cause down to the broken code. End-to-end service observability combined with code-level insights and exception analysis will help you ensure the robustness of your production environment.
For a complete list of all supported Python technologies, see Technology support and Python code module.
Trace your Python apps end-to-end across every tier without blind spots:
Analyze the performance of services and endpoints in detail:
Diagnose anomalies with Davis AI down to the broken code:
To get started
- Ensure that Python monitoring is enabled (see Infrastructure Observability section above).
- Go to Settings > Preferences > OneAgent features, find and enable all Python sensors of interest, and then restart your processes.
Vulnerability Analytics
Automatically detect Python runtime and third-party vulnerabilities in your Python applications, quickly assess their impact on your monitored environment, and prioritize remediation efforts.
Quickly assess the impact of a vulnerability on your apps:
To get started
- Ensure that Python monitoring is enabled (see Infrastructure Observability section above).
- Go to Settings > Preferences > OneAgent features, find and enable Python software component reporting, and then restart your processes.
- Go to Settings > Application Security > Vulnerability Analytics > General settings, and then enable Python.





