Dynatrace & Python apps (Openshift)

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

1 Like

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.

2 Likes

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.

So it would be and URL like this i imagine ?

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

1 Like

Yes that should be it.

1 Like

Thank you so much for your help @pahofmann

1 Like