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

**URL:** <https://discuss.elastic.co/t/apm-agent-how-to-configure-agent-to-upload-request-info-separately/253429>\
**Category:** APM\
**Tags:** rum\
**Created:** [October 27, 2020, 11:41am UTC](https://discuss.elastic.co/t/apm-agent-how-to-configure-agent-to-upload-request-info-separately/253429 "2020-10-27T11:41:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhengyu\_Jiang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhengyu_jiang/32/77936_2.png) [@Zhengyu\_Jiang](https://discuss.elastic.co/u/Zhengyu_Jiang)\
**Post date:** [October 27, 2020, 11:41am UTC](https://discuss.elastic.co/t/apm-agent-how-to-configure-agent-to-upload-request-info-separately/253429/1 "2020-10-27T11:41:52Z")

</div>

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 🙂

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](https://www.elastic.co/guide/en/apm/get-started/current/troubleshooting.html) 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](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1a9d2f142255611ef7badd2c4a2e866b52847c5f.png)

---

<div class="post-metadata">

**Author:** ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)\
**Post date:** [November 9, 2020, 9:30pm UTC](https://discuss.elastic.co/t/apm-agent-how-to-configure-agent-to-upload-request-info-separately/253429/2 "2020-11-09T21:30:01Z")

</div>

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](https://github.com/elastic/apm-agent-rum-js/blob/d5ec7a6733c94aae3bdfcb69147bb830102213e5/packages/rum-core/src/performance-monitoring/performance-monitoring.js#L63)

Thanks,  
Vignesh

---

<div class="post-metadata">

**Author:** ![Zhengyu\_Jiang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhengyu_jiang/32/77936_2.png) [@Zhengyu\_Jiang](https://discuss.elastic.co/u/Zhengyu_Jiang)\
**Post date:** [November 10, 2020, 6:51am UTC](https://discuss.elastic.co/t/apm-agent-how-to-configure-agent-to-upload-request-info-separately/253429/3 "2020-11-10T06:51:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 1, 2020, 2:51am UTC](https://discuss.elastic.co/t/apm-agent-how-to-configure-agent-to-upload-request-info-separately/253429/4 "2020-12-01T02:51:43Z")

</div>

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