Hello @Goel, Akanksha , Thank you for the question. Did you try to include the "excludeTypes" property in applicationinsight setting in host.json file and specify the types you want to disable/ exclude?
https://learn.microsoft.com/en-us/azure/azure-functions/functions-host-json#applicationinsightssamplingsettings
Hope this helps.
If yes , please "Accept the answer" and "Up-vote" so that it helps others in the community.
Hello @Goel, Akanksha , Thank you for the clarification. I see that we have an option to configure as per requirement : https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#sampling-overrides-preview
For reference: https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-telemetry-processors#log-processor
However, this is in preview. So let us know if this works for you.