azure-application-insights

Temporarily disabling Application Insights at the Azure side


Can you suggest ways to modify Application Insights settings at the Azure side, without deleting the Application Insights instance, so it would ignore/skip all or part of incoming telemetry traffic?

The goal is to save money during certain periods of time when I don't need to collect telemetry from the applications always sending telemetry to this Application Insights instance.

This change should be transparent for the applications sending telemetry - there should not be a need to change anything in their configuration to achieve this.


Solution

  • Yes, you can modify Ingestion Sampling (https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api#types-of-sampling).

    How to do it:

    1. In Application Insights resource go to Usage and estimated costs

    2. Click on Data sampling menu item

    3. Modify percentage to 1%

    enter image description here

    Your Application Insights resource will continue to ingest 1% of data with corresponding cost drop. Once you need full ingestion - modify it back to 100%.