Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Setting the maxTelemetryItemsPerSecond value in host.json to a larger value can help in increasing the amount of data that is collected and sent to Application Insights. However, it may not solve the problem of missing data completely.
There could be other reasons why data is missing in the logs. One reason could be that the logs are not being generated due to a configuration issue. Another reason could be that the logs are being generated, but are not being sent to Application Insights due to a connectivity issue.
To troubleshoot this issue, you can try the following steps:
Check if the logs are being generated in the first place. You can do this by checking the logs in the Azure portal or by using the Azure Functions Core Tools.
Check if the logs are being sent to Application Insights. You can do this by checking the Application Insights logs in the Azure portal or by using the Application Insights API.
Check if there are any configuration issues with the Azure Functions app or the BI tool that you are using. You can do this by reviewing the configuration settings and making sure that they are correct.
Check if there are any connectivity issues between the Azure Functions app and Application Insights. You can check the network settings and make sure that they are correct. You can also try pinging the Application Insights endpoint to see if there are any connectivity issues.
If you are still facing issues with missing data in the logs, you can try reaching out to Microsoft support for further assistance.
If you have any further queries, do let us know.