0
votes

I have an asp.net webapi project deployed in Azure which has Application Insights active (and works very nicely). AI was activated in the Azure portal i.e. no change required in the project (very nice).

However, I have now added the Application Insights nugets to my project so i can experiment with adding my own custom dependencies. But when I deploy through git commit (which triggers TeamCity and Octopus), Application Insights stops working. This is evident in that Live Metrics will not start.

Has anyone had any experience with this?

2

2 Answers

2
votes

The problem was that the ApplicationInsights.config file was not being deployed by octupus. Solution was to update my nuspec file to include this file as part of the nuget package construction.

I noticed this when comparing the files deployed by the IDE Publish against what Octopus deploys.

0
votes

Sounds like some conflict between extension and application. Can you uninstall the Application Insights extension from Azure portal and try again?