How to exclude SignalR requests from collected transactions?

When using UseElasticApm middleware in ASP.NET Core app, APM agent collects all requests, including connections to SignalR endpoint. I can see these requests in Kibana with pretty big avg. duration which is kind of false performance issue. Is there any way to exclude specific endpoints/URLs?


Hi @Radek_Stromsky,

thanks for reporting this. The best way to solve this would be to ignore this URL - in fact given that this is a well known URL we could do it by default.

Unfortunately there is no setting to set a URL to ignore currently in the .NET Agent, we have an issue related to this, that'd give you the option to add /signalr/common to the ignored URLs.

So, unfortunately I'm not sure you can do anything about it at the moment.

I added your problem to that issue - we'll work on this!

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