Hi @Arun Kumar Mandya Prabhakar - Thanks for reaching out.
As Tinywang has mentioned, you can integrate Azure Application Insights in codeless way for Azure functions.
For a function app to send data to Application Insights, it needs to know the instrumentation key of an Application Insights resource. The key must be in an app setting named APPINSIGHTS_INSTRUMENTATIONKEY.
When you create your function app in the Azure portal, from the command line by using Azure Functions Core Tools, or by using Visual Studio Code, Application Insights integration is enabled by default. The Application Insights resource has the same name as your function app, and it's created either in the same region or in the nearest region.
- If its a New function app in the portal
To review the Application Insights resource being created, select it to expand the Application Insights window. You can change the New resource name or choose a different Location in an Azure geography where you want to store your data.
- Add to an existing function app
If an Application Insights resource wasn't created with your function app, use the following steps to create the resource. You can then add the instrumentation key
from that resource as an application setting in your function app. - In the Azure portal, search for and select function app, and then choose your function app.
- Select the Application Insights is not configured banner at the top of the window. If you don't see this banner, then your app might already have Application Insights
enabled.
- Expand Change your resource and create an Application Insights resource by using the settings specified in the following table.
- Select Apply.
The Application Insights resource is created in the same resource group and subscription as your function app. After the resource is created, close the Application Insights window.
- In your function app, select Configuration under Settings, and then select Application settings. If you see a setting named APPINSIGHTS_INSTRUMENTATIONKEY, Application Insights integration is enabled for your function app running in Azure. If for some reason this setting doesn't exist, add it using your Application Insights instrumentation key as the value.
Hope this helps.
If it helps, Please feel free to "accept as answer" so it can beneficial to the community.