cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Observe and protect your Python stacks

_Alexander_
Dynatrace Advisor
Dynatrace Advisor

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. 

Screenshot 2025-03-28 at 09.53.01.png

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

  1. Go to Settings > Monitoring > Monitoring technologies.
  2. Find Python and enable Monitor Python.
  3. 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:

Screenshot 2025-03-27 at 16.32.55.png

Analyze the performance of services and endpoints in detail:

Screenshot 2025-03-27 at 16.45.26.png

Diagnose anomalies with Davis AI down to the broken code:

Screenshot 2025-03-27 at 16.37.59.png

To get started

  1. Ensure that Python monitoring is enabled (see Infrastructure Observability section above).
  2. 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.

Screenshot 2025-03-28 at 10.04.38.png

Quickly assess the impact of a vulnerability on your apps:

Screenshot 2025-03-28 at 10.05.21.png

 

To get started

  1. Ensure that Python monitoring is enabled (see Infrastructure Observability section above).
  2. Go to Settings > Preferences > OneAgent features, find and enable Python software component reporting, and then restart your processes.
  3. Go to Settings > Application Security > Vulnerability Analytics > General settings, and then enable Python.
1 REPLY 1

AntonPineiro
DynaMight Guru
DynaMight Guru

Nice improvement! :take_my_money::dynaspin:

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts