We already tried option 1 but the only thing we see in Dynatrace UI is that the token is used when the app is launched, nothing seems to be captured, not a single web request.
Can someone explain the difference between 1 and 2 And tell if 2 has better chance to work?
@Aymeric_M@AymericM - Was there something specific from the linked docs that did the trick for you?
We are also trying to follow that documentation to integrate Dynatrace OneAgent into Cloud Run.
We are encountering the following error though:
ERROR: ld.so: object ‘/opt/dynatrace/oneagent/nonprod/agent/lib64/liboneagentproc.so
2025-06-10T18:15:14.153350Z’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
In case anyone else runs into the scenario we encountered the following is what resolved the issue for us.
Original Error
ERROR: ld.so: object ‘/opt/dynatrace/oneagent/nonprod/agent/lib64/liboneagentproc.so
2025-06-10T18:15:14.153350Z’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Resolution
Our application was using Cloud Run execution env V2 which has a CPU architecture type of x86.
Specifying the arch type when retrieving the Dynatrace OneAgent resolved the issue.