How to ignore certain routes

I'd like to know if it's possible to configure an AP agent to ingore certain routes. For instance, I would like the health check routes to be ignored to save on bandwidth and storage.

We're using node js and I'm looing at the configuration files for hints (https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuring-the-agent.html#agent-configuration-object) but I can't find nothing relevant.

It certainly is - thanks for asking :smiley:

You can use either the ignoreUrls config option, or the ignoreUserAgents config option, depending on your use-case.

Thanks, I have found another agent configuration page that mentions this and more other configurations.

https://www.elastic.co/guide/en/apm/agent/nodejs/2.x/configuration.html

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