Before adjusting the maxTelemetryItemsPerSecond
value, I recommend checking a few things:
- Make sure that the logs you're looking for are within the retention period of your Application Insights instance. By default, logs are retained for 90 days, but this can be changed in the Application Insights settings.
- Check that the logs you're looking for are being sent to the correct Application Insights instance. You can check this by looking at the
instrumentationKey
value in yourlocal.settings.json
file or in the Application Insights settings. - Verify that the logs you're looking for are being generated by your Azure Functions app. You can do this by checking the code for your app and making sure that logging statements are being used appropriately.
If you've checked these things and are still experiencing missing logs, you can try adjusting the maxTelemetryItemsPerSecond
value in the host.json
file. However, keep in mind that increasing this value can increase the cost of your Application Insights instance.
I hope this helps.