apm icon indicating copy to clipboard operation
apm copied to clipboard

Document which agents support flush intervals

Open ppf2 opened this issue 4 years ago • 3 comments

https://www.elastic.co/guide/en/apm/server/master/tune-apm-server.html#reduce-payload-size

You can reduce the payload size by decreasing the flush interval in the agents.

However, it doesn't look like all agents support flush interval. For example, Java agent no longer provides this configuration option (https://github.com/elastic/apm-agent-java/issues/571).

It will be helpful to specify the agents that are still using the older protocol in this part of the documentation (i.e., still supports flush interval configuration). Thx!

ppf2 avatar May 06 '21 01:05 ppf2

Only the .NET agent supports the FlushInterval setting. All other agents support api_request_size. As the unit for that setting is bytes, not the event count, and it's already set to a relatively modest value, I don't api_request_size needs to be called out in the docs anymore. @axw, would you agree?

@elastic/dotnet are there plans to support api_request_size/api_request_time?

felixbarny avatar May 06 '21 06:05 felixbarny

As the unit for that setting is bytes, not the event count, and it's already set to a relatively modest value, I don't api_request_size needs to be called out in the docs anymore. @axw, would you agree?

Yes, agreed.

axw avatar May 06 '21 06:05 axw

elastic/dotnet are there plans to support api_request_size/api_request_time?

Yes, we discussed this back then and the plan was to have the same settings as other agents do - for that we need a few changes on how the agent sends data. Issue: https://github.com/elastic/apm-agent-dotnet/issues/366

gregkalapos avatar May 06 '21 14:05 gregkalapos