Open photo-art-melanie-frei opened 3 weeks ago
Thanks for PR.
Since this might be quite the breaking change: can you explain the use case for this change? Because the actual CF app name is already getting picked up by the OneAgent anyways.
Thanks for PR.
Since this might be quite the breaking change: can you explain the use case for this change? Because the actual CF app name is already getting picked up by the OneAgent anyways.
Hi,
I created this change to be in-line with the (https://github.com/cloudfoundry/java-buildpack/blob/main/lib/java_buildpack/framework/dynatrace_one_agent.rb#L146 just for completeness and as fallback :-)
Add
DT_APPLICATIONID
env variableThe application id environment variable represents the web application id.
This is done in the Java buildpack as well: the application id is set to the VCAP_APPLICATION: name.