In the process of migrating our monitoring from AppMon to Dynatrace I just found out the hard way that setting the env variable DT_STORAGE in the context of an application process (Java in this case) will have an impact on where the Deep Monitoring Agent (which monitors the process) will write its logs and memory dumps, namely:
$DT_STORAGE/java
$DT_STORAGE/memorydumps
Although this seems to be an undocumented feature (probably a remnant of sorts from the AppMon agent “DNA”) it is quite neat as we would want to keep all process-specific logs (incl. memdumps) to a process-specific location. This was actually the whole point of defining DT_STORAGE during the AppMon days.
The only problem is that this seems to break memdump uploads to the ActiveGate and therefore they will never appear for download via the UI. Unfortunately “unsetting” DT_STORAGE is not easily possible for the apps we’re trying to migrate.
I’m curious if anyone made a similar experience and if perhaps any “insiders” can comment/confirm the current usage of DT_STORAGE and the impact on memory dump storage.
Thanks in advance.