Elasticsearch version:
6.8.4
APM Server version:
7.6.0
APM Agent language and version:
Java - 1.16.0
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Download page
Fresh install or upgraded from other version?
Upgraded version
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
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
We have a path parameterized API implemented in our Springboot application:
@GetMapping("/owners/{ownerId}")
public ModelAndView showOwner(@PathVariable("ownerId") int ownerId) {
ModelAndView mav = new ModelAndView("owners/ownerDetails");
Owner owner = this.owners.findById(ownerId);
for (Pet pet : owner.getPets()) {
pet.setVisitsInternal(visits.findByPetId(pet.getId()));
}
mav.addObject(owner);
return mav;
}
Example calls to this API are like:
/owners/3
/owners/4
We would like to group all these transactions based on the API mapping defined. For the above-mentioned example, we would like to group the APIs by /owners/{ownerId}
For example, an extra field in the 'url' section that specifies the API mapping:
'url': {
'path': '/owners/3',
'api_mapping': '/owners/{ownerId}',
'full': ....
....
}
Is there any way we can implement this using the latest versions? If not, can we expect a feature like this soon?