How to detect a request is an Application Insights ping test
Read OriginalThis technical article details a method for detecting Application Insights availability monitoring ping tests in an ASP.NET Core application. It examines the SDK's SyntheticTelemetryInitializer class, showing that requests containing the 'SyntheticTest-RunId' and 'SyntheticTest-Location' headers are synthetic. This allows developers to exclude these automated health checks from custom usage data collection logic.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser