Joonas Westlin 2/24/2018

How to detect a request is an Application Insights ping test

Read Original

This 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.

How to detect a request is an Application Insights ping test

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week