Any way to monitor or alert for Data Sampling of Application Insights?

Manuj Gupta 1 Reputation point
2021-06-29T10:08:11.863+00:00

We have multiple app insights where many of our app services are logging. As part of cloud operations, we want to enable the sampling of these app insights logs and thus save costs.

Is there way to configure alert or any API where I can directly fetch the APP Insights data sampling configured value ??

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,802 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manuj Gupta 1 Reputation point
    2021-07-06T16:22:27.36+00:00

    Currently, I found the below query to check on Sampling and alert if it is more than the configured threshold.

    traces
    | summarize AggregatedValue=toint(100 / avg(itemCount)) by itemType, bin(timestamp, 15m)

    0 comments No comments