tuhin
tuhin

Reputation: 103

Application insights without changing the source code

When I have configured application insights by installing the packages to the solution, its working fine and able to capture telemetry data.

Now, I want to integrate application insights with my windows services (running on premises vms) without installing the nuget packages (Microsoft.ApplicationInsights.WindowsServer) or inserting the instrumentation key to the source code. Is it possible?

I have tried to copy all the required dlls (application insights related) to the output directory of my service and used Application Insights configuration to set the instrumentation key but its not sending any telemetry data.

Upvotes: 0

Views: 552

Answers (1)

Jayendran
Jayendran

Reputation: 10930

You can integrate your Windows services (on-premises) to send telemetry to App insights, but without installing the NuGet packages and providing Instrumentation key is not possible. There are some other processes to follow too for your use-case.

Refer this official docs,

Applications hosted on premises, in Azure, and in other clouds can all take advantage of Application Insights. The only limitation is the need to allow communication to the Application Insights service. For monitoring Universal Windows Platform (UWP) applications, we recommend Visual Studio App Center.

Refer this SO thread for better understanding

Upvotes: 2

Related Questions