Agent buffer Best Practices

Hi：

I like to know does change Communication mode like point to lower buffer saturation (20%)&buffer size&buffer(1MB) count would be best practices for reduce the application pressure? I know that if i set threshold like screenshot below,the agent will be getting skipped purepath &events.So would you help me to chose best configuration for this patameters? Thanks in advance!

5 Replies

best practice is simple: leave the defaults. those are the settings that we figured after lots of testing would be best both in terms of (native) memory consumption and retention time when network connections are lost or collector/server are in GCs.

so my question to you is: why did you feel the need to change them in the first place?

Calvin, It is strongly advised to not change these parameters unless told to do so by Dynatrace Support. If they tell you to change them, they will tell you the values for your situation. If you feel there's a reason to change them, I suggest you open a support case.

I opened a ticket,the Support told me that my ticket was not a question,he can`t help further.I have to confirm that if i set buffer saturation ,size ,count as lowest,it will occur skipped purepath &event frequently.What will impact on any possibility?

I think if i change the buffer size & count, it will getting lowest impact on Application server when there has network variation.We have met before when network from bad became normal,the Application Cpu will get high a while.As I understanding,the reason Cpu will get high is agent buffer caused.So if i change them in the first place,it will get lowest buffer in the agent side.What do you think my understanding？

well, there is one possibility why the CPU would be lower when the buffer size is smaller: and that is when the agent has no buffers left and reduces/stops capturing data, which in turn obviously leads to lost data which you do not want, right?

apart from that the Agent behaves exactly the same when it's capturing data, regardless of how big the buffers are.

Can i see the agent buffer through measure? I like to know how long it will take when buffer filling up.BTW,as my situation,even though it will leads to lost data but I have to confirm the lowest impact on production system.Thanks for your advice!