# How to combine different transaction

**URL:** <https://discuss.elastic.co/t/how-to-combine-different-transaction/196491>\
**Category:** APM\
**Tags:** java\
**Created:** [August 23, 2019, 10:16am UTC](https://discuss.elastic.co/t/how-to-combine-different-transaction/196491 "2019-08-23T10:16:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kin122](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kin122/32/51521_2.png) [@kin122](https://discuss.elastic.co/u/kin122)\
**Post date:** [August 23, 2019, 10:16am UTC](https://discuss.elastic.co/t/how-to-combine-different-transaction/196491/1 "2019-08-23T10:16:30Z")

</div>

hi  
i got this problem  
there are serial transactions in apm,i want to combine two related transaction,just like the picture show

 ![%E5%9B%BE%E7%89%87](https://us1.discourse-cdn.com/elastic/original/3X/6/4/648f62bcff60af9c775d64fbf67ed49c19039911.png)  
how thks

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [August 23, 2019, 10:29am UTC](https://discuss.elastic.co/t/how-to-combine-different-transaction/196491/2 "2019-08-23T10:29:22Z")

</div>

You could use the API to manually set a common name for those transactions. See [https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html#api-set-name](https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html#api-set-name)

---

<div class="post-metadata">

**Author:** ![kin122](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kin122/32/51521_2.png) [@kin122](https://discuss.elastic.co/u/kin122)\
**Post date:** [August 24, 2019, 8:33am UTC](https://discuss.elastic.co/t/how-to-combine-different-transaction/196491/3 "2019-08-24T08:33:16Z")

</div>

ok，will apm implement this function without the public API ,we can combine two related classes in kibana UI in future versions？

---

<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:** [September 14, 2019, 4:33am UTC](https://discuss.elastic.co/t/how-to-combine-different-transaction/196491/4 "2019-09-14T04:33:17Z")

</div>

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