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?
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!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.