How to combine different transaction

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


how thks

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

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