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

Dynatrace & Python apps (Openshift)

Sohaib
Frequent Guest

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

6 REPLIES 6

pahofmann
DynaMight Guru
DynaMight Guru

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.

 

 

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

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 ?

You can send it directly to the cluster or an Environment Active Gate if it has the Rest API module enabled.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

So it would be and URL like this i imagine ?  

 

https://ActiveGate@IP:9999/e/{your-environment-id}/api/v2/otlp/v1/traces

Yes that should be it.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Sohaib
Frequent Guest

Thank you so much for your help @pahofmann