Exclude/ignore URLs?
See original GitHub issueHello,
I can’t find any option in the docs, so my question is: how can I disable the agent sending transactions for certain URLs like e.g. the google analytics one? Right now (by default config) each time an event is sent to the google analytics service via HTTP, another request is made by the agent to report that request… I would expect something like this in the config object:
excludeOrigins: ['analytics.google.com', 'whatever.org', 'etc…']
But that option doesn’t exist! 😅 Is there anything in place in order to do this?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Excluding URLs for a Filter in a Spring Web Application
Learn how to exclude URLs from being executed in Spring Web filters. A bit advanced but highly highly useful.
Read more >How to exclude URLs/blocks/words from translation?
If you want to exclude more URLs, click on "Add Rule" and repeat the steps. b. Exclude URLs when deleting the translations. You...
Read more >How To Exclude URL Query Parameters in Google Analytics
Under Admin > View Settings > Exclude Query Parameters, list the query parameters that you want to exclude from your page paths. This...
Read more >Exclude a URL in Google Analytics - Thinkers and Doers
Don't let internal and bogus URLs spoil your Google Analytics reports. This tutorial will show you how to easily filter them out.
Read more >Can I exclude some concrete urls from <url-pattern> inside ...
Map the folder with your static resource files to the default servlet. Create a servlet filter and put it before the GuiceFilter in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ahh ok, now I see! Got it! Many thanks!
THx. Yes. Solved it.
Von: Vignesh Shanmugam notifications@github.com Antworten an: elastic/apm-agent-rum-js reply@reply.github.com Datum: Montag, 15. Juni 2020 um 12:09 An: elastic/apm-agent-rum-js apm-agent-rum-js@noreply.github.com Cc: Andre Frintrop andre.frintrop@objectiveit.de, Mention mention@noreply.github.com Betreff: Re: [elastic/apm-agent-rum-js] Exclude/ignore URLs? (#665)
@Frintrophttps://github.com/Frintrop You have to pass in RegExp object and not string. Check the documentation here https://www.elastic.co/guide/en/apm/agent/rum-js/current/configuration.html#ignore-transactions
const config = {
ignoreTransactions: [new RegExp(‘’)]
}
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/elastic/apm-agent-rum-js/issues/665#issuecomment-644035120, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABP63MTDMOYU4XXJYJHVUXTRWXXG7ANCNFSM4K7HG7ZA.