cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Andriy_Sidorkin
Dynatrace Participant
Dynatrace Participant

Summary

To enable monitoring for PaaS OneAgent installations (via build-time injection) for Python-based applications before OneAgent version 1.315, some additional on-the-fly configuration is required.

 

Problem

By default, Python monitoring is not enabled for PaaS OneAgents before version 1.315.

 

Resolution

Please add the following lines to your Dockerfile (after those indicated in the documentation):

ENV DT_AGENTTYPE_OVERRIDE python=on

# rxutiagentproc.conf override to append Python entries
RUN echo "[agentType]\npython on\n\n[general]\npythonInjection on" >> /opt/dynatrace/oneagent/agent/conf/ruxitagentproc.conf

and proceed with the build & deployment.

 

What's next

Monitoring for Python applications will be enabled by default starting with OneAgent version 1.315.

If you have any problems enabling this, please create a chat or support ticket and provide the following:

  • the Dockerfile that was updated
  • all logs from /opt/dynatrace/oneagent/logs
  • mention this article
Version history
Last update:
‎03 Jun 2025 09:49 AM
Updated by: