We are using PHP with Dynatrace but when we searched for the SDK we did not find the "Add custom request attributes" section like in other languages (DotNet, Pyton, etc).
Will this functionality be added in the future?
We have many attributes to send through the code that cannot be sent via header or request parameters, what is the current best way to add new custom attributes by PHP at runtime?
Thanks in advance
You can add request attributes for PHP directly in Dynatrace if it is a method argument, see https://docs.dynatrace.com/docs/shortlink/request-attributes-method-arguments.
If you need to push information and context from the code, I'd suggest using OpenTelemetry instead. Then you can create your own spans and send span attributes, which can be used as the source for request attributes.