https://vitalyzhukov.com/en/sharepoint-collect-telemetry-with-application-insights-part-1
Collect SharePoint telemetry with Azure Application Insights. Part I. Server-Side