Using APM with latest Apollo Server and Apollo Server Express results into "Unknown routes"

Hello people,

we recently switched from AWS Elasticsearch Service to the elastic.co one and due to this change we also wanted to give APM a try. But unfortunately it does not seem to work because of we're using a GraphQL setup (Apollo Server / Apollo Server Express).

I already tried to switch back to the versions shown on the supported technologies page but this didn't go well.

Right now we have the common "unknown route" problem.

Is anyone out there using the stuff with the latest apollo-server-express and apollo-server version? In our case this is 2.9.3 or is there anything else I could check?

Apart from that, logging of knex (what we also use) and some other packages works fine.

Best

Ben

Hi,

I believe you'll need to set the route when the context is setup with apm.setTransactionName("/"); or you could change the / to the query/mutation name - this is what we are doing.

Best, Matthew

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