question

Antonio S. avatar image
Antonio S. asked ·

Optimizing /var/opt/dynatrace-managed/agents/ ?

/var/opt/dynatrace-managed/agents/ is taking up almost 30 GB of data in our installation. I believe some of this could be optimized, so it can be used to give us more APM data. Not sure if I can handle this at the moment, with some configuration, or if a RFE might be adequate? The following two points take up much of that space, so a good optimization could result from implementing them:

  • In the case I have analyzed, agents are available since version 1.181, which is from last December. In this case, there has been no need to use older agents, so this space usage is not useful. There are versions that seem to take more space, like 1.183 that takes almost 7 GB. Is there a way to safely delete these older versions? Is the number of retained versions configurable? Can eventually older versions be downloaded, if needed?
  • I have noticed that all agents are being downloaded. That includes agents we never use, like aix, solaris, s390, amongst others. Is there a quick way to tell Managed not to care about these ones? It would benefit not only the clients, with no space & traffic needed, but also Dynatrace, which has to support a lot of unneeded traffic worldwide.

I believe these issues might also benefit the SaaS offering, so there is a lower resource usage...

Dynatrace Managed
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Radoslaw S. avatar image
Radoslaw S. answered ·

Hey Antonio,

Old packages (OneAgents, Agentless, ActiveGates, Synthetic modules) are removed autoamtically based on what you are running. Cluster analyzes last 30 days of AG and OA activity and reports the oldest version that was running. All older versions that what was reported - is removed automatically.

Regarding the specific components removal - it's currently not possible. One may want to use them on demand, and we want them to be available right away. We were thinking on enabling downloading that on demand for the cost of worse UX, but that's really a corner case and disk space doesn't take that much to invest in that.


Hope my explanation helps. Let me know if you have any other questions.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

From the first part, it looks like it's a very good strategy! I imagine that in our case some host might be running some older version, and so that's why the 1.181 versions and above might still be there. Might this be the case?

Regarding the specific components removal, I had imagined that having it readily available should explain it. I would imagine that the best solution for this would be having some sort of configuration in the UserAgent definitions area, where all types of agents would be previously selected, but where customers could go there & deselect agents that are not needed for sure. I'm going to put this one as an RFE.


2 Likes 2 · ·