Thanks for reaching out to Q&A.
In order to resolve this issue, you can either disable sampling in Application insights or exclude request and exception in the sampling section under the Host.json file as mentioned below
{
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"maxTelemetryItemsPerSecond" : 20,
"excludedTypes": "Request;Exception"
}
}
}
}
data of type Request and Exception is excluded from sampling. This makes sure that all function executions (requests) and exceptions are logged while other types of telemetry remain subject to sampling.
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.