28 Jun 2023 11:05 PM - last edited on 29 Jun 2023 07:55 AM by MaciejNeumann
We are missing a real SDK for PHP, specially to use the Request Attributes feature, so I'm trying to build a PHP extension to bridge with the C/C++ SDK.
But I'm getting:
Could not load agent module for Dynatrace OneAgent SDK for C/C++: Loading via the process module failed and no fallback path was provided.
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] info [onesdk] Initializing Dynatrace OneAgent SDK for C/C++ ..."
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] info [onesdk] SDK stub version 1.7.1.1, build date 2022.12.15 10:27:48."
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] fine [onesdk] Preparing arguments..."
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] config [onesdk] Options:"
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] config [onesdk] Agent active: true"
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] config [onesdk] Agent module: ''"
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] config [onesdk] SDK log level: finest "
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] config [onesdk] Additional options:"
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] config [onesdk] ONESDK_INTERNAL_CA627667445C40F0_INIT_FLAGS=0"
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] fine [onesdk] Loading agent module..."
[28-Jun-2023 21:34:26] WARNING: [pool www] child 27 said into stderr: "2023-06-28 21:34:26.840 UTC [6a38c8cc] info [onesdk] Could not load agent module for Dynatrace OneAgent SDK for C/C++: Loading via the process module failed and no fallback path was provided."
install-oneagent init container seems to be working properly, it ends with:
{"level":"info","ts":"2023-06-28T21:29:58.558Z","logger":"standalone-init","msg":"standalone agent init completed"}
Any ideas where to go from there?