APM Agent: how to configure agent to upload request info separately?

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight_smile:

TIP 1: select at least one tag that further categorizes your topic. For example server for APM Server related questions, java for questions regarding the Elastic APM Java agent, or ui for questions about the APM App within Kibana.

TIP 2: Check out the troubleshooting guide first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.

Kibana version:
v 7.9.1

APM Server version:
7.9.0

APM Agent language and version:
rum-js
5.2.0

Browser version:
Chrome
86.0.4240.111

Fresh install or upgraded from other version?
Fresh install

Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.

No, all by default

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):

I noticed that sometimes span.name started with 2x or 3x in the payload of request sent by apm agent, does this mean agent combines same requests together? In that case, how to let agent send request info separately?

Screenshot:
image

Hi @Zhengyu_Jiang,

Apologies for the delay. Unfortunately, there is no way to configure this in the RUM agent. We try to group small continuously similar spans to reduce the noise it creates on the page. Check the implementation here - https://github.com/elastic/apm-agent-rum-js/blob/d5ec7a6733c94aae3bdfcb69147bb830102213e5/packages/rum-core/src/performance-monitoring/performance-monitoring.js#L63

Thanks,
Vignesh

Hi,

Thank you so much for your answer, in that case, I noticed that the duration of this small continuously similar span group would be equal to the duration of the latest span, should it be the sum of duration of all spans?

Thanks,
Zhengyu

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.