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)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 ??
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)