Reputation: 1967
I have Azure Application Insights enabled for an Event Grid-triggered Azure Function. Some of the App Insight events show "No results" even though the Function had an execution time of ~65 secs.
How do I troubleshoot these "ghost" events?
Example:
So... what are these events and how do I determine what happened?
Upvotes: 0
Views: 229
Reputation: 1967
Coming back to this after some time... the issue was the samplingSettings
listed in the Azure Function host.json
file.
Specifically: Setting samplingSettings
isEnabled
to false
.
"applicationInsights": {
"samplingSettings": {
"isEnabled": false,
With sampling enabled, some App Insights logs were not available. Now all appear as intended.
Upvotes: 0
Reputation:
Upvotes: 1