Hi @Mohamed Hussein ,
If you have removed the "samplingSettings" section from your function app's configuration file, then all requests should be logged in Application Insights. However, it's possible that there may be other issues preventing the invocation logs from appearing.
To address your question, invocation logs should be visible in real-time within the "Live Metrics Stream" in the Azure portal. If you're not seeing any logs in real-time, it could indicate a configuration issue with your function app or the function itself.
Here are a few things you can try to troubleshoot this issue:
- Check the "Application Insights" blade in the Azure portal to make sure that your function app is correctly configured to use Application Insights. You should see a "Connected" status if everything is set up correctly.
- Go to the "Functions" blade in the Azure portal to confirm that your function is running and hasn't encountered any errors. Errors could prevent invocation logs from being recorded.
- Look at the "Logs" blade in the Azure portal to see if there are any errors or warnings related to your function app. This can help you identify any issues that need to be resolved.
- If you're still unable to locate the logs, consider enabling the "Application Insights Profiler" for your function app. This feature can help you identify performance issues and other problems that might be affecting log recording.
I hope this helps! Let me know if you have any further questions or need additional assistance.