06 Apr 2022 01:35 PM - last edited on 16 Jun 2023 10:58 AM by Karolina_Linda
Hello,
we are trying to monitor python apps via DYnatrace and we found two methods :
1- One AGent SDK
2- Using opentelemetery
Which one is better and what are the differences between the two solutions ?
Thanks
Solved! Go to Solution.
06 Apr 2022 01:45 PM - edited 06 Apr 2022 01:46 PM
I was about to recommend the OneAgent SDK, because of the auto instrumentation option, but saw that they actually recommend taking a look at opentelemetry-python which also offers auto instrumentation now link to dynatrace documentation.
OpenTelemetry has wider community adoption, the SDK can add a few more (dynatrace specific) features like request attributes.
06 Apr 2022 01:53 PM
Thank you for your answer.
When verifying the documentation about Opentelemetery i saw that the endpoint is the Dynatrace URL and env ID
Shouldn't it be the ActiveGate instead ?
if not, then the flow must be open to Dynatrace URL on 443, do you confirm ?
06 Apr 2022 01:57 PM
You can send it directly to the cluster or an Environment Active Gate if it has the Rest API module enabled.
06 Apr 2022 02:03 PM
So it would be and URL like this i imagine ?
https://ActiveGate@IP:9999/e/{your-environment-id}/api/v2/otlp/v1/traces
06 Apr 2022 02:10 PM
Yes that should be it.
06 Apr 2022 02:17 PM
Thank you so much for your help @pahofmann