Nodejs APM all routes are /* though using usePathAsTransactionName

Hey there :slight_smile:

Kibana version: 7.5.1

Elasticsearch version: 7.5.1

APM Server version: 7.5.1

APM Agent language and version: Nodejs with koa using apm agent 3.6.1

Original install method (e.g. download page, yum, deb, from source, etc.) and version: We get elasticsearch as a could service and host the kibana and apm docker images with a custom bootstrap to get creds out of a vault but they don't change anything on the app. The node packages are downloaded through npm

Is there anything special in your setup? We use cloudfoundry so there's a nginx loadbalancer infront of the apm and kibana server.

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
We use strapi as a cms. with it goes koa and therfor the @koa/router which should be supported as of the apm nodejs agent docs. We include the option usePathAsTransactionName: true at the start which in my understanding should get us something like /navigations or /project-pages/4 and not always /*. This seems weird as all our other stuff with express seems to work

Steps to reproduce:

  1. Create a strapi project & setup apm
  2. Create your api, use it and see the result in kibana

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