22 May 2024 04:38 PM
Dear Dynatrace Community,
We're using the OneAgent-SDK-for-Python for collecting traces and metrics for a Python application. But I'm wondering whether there's a definite list what kind of metrics are being collected when using trace_incoming_web_request for incoming web request. Am I right to assume that just all Built-in classic metrics are being collected (where applicable)?
At least from trying out a few metrics I can conclude that many of the "Services / *" metrics work, like "request count" and "success rate".
Unfortunately I couldn't find a good answer in the source code, neither in the documentation for Dynatrace OneAgent SDK for Python.
Please let me know, in case this is the wrong place to ask.
Solved! Go to Solution.
23 May 2024 05:33 PM
When using the OneAgent SDK for Python with auto-instrumentation, the following service metrics are collected and automatically:
Additionally, if the Python code interacts with databases, the databases will appear in the Database list. This includes collecting metrics such as:
These metrics help in monitoring and optimizing the performance of the services and databases used by the Python application.
27 May 2024 12:57 PM
Thanks for your response! I was hoping for an official document, because there are more stats covered than the ones you mentioned. But for now, I have to assume there isn't anything written officially, and will conclude my investigation that way.