I have an Asp.net core web api project and i've added the simplest configuration of application insights in Startup.cs file.
services.AddApplicationInsightsTelemetry();
Everything is fine and the data is sent to Azure correctly, but now I need to stop tracking data from a specific controller because it makes a request to an external api and when it fails i'm able to control the flow but i dont want to see those error un application insights portal.