0

I need to connect a configmap file to an App Insight in Azure Devops. I have the connection string but I'm just not sure where to add it to connect a specific configmap file to the App Insights.

I tried following this https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent which helps me get to the point where I have the connection string but it seems like the step where I add the connection string isn't what I'm looking for specifically in that documentation.

Edit: I created a web.config file and added the conection string to it.

<connectionStrings>    
 <add  name="configmapConnectionString"          
       connectionString=          
       providerName="System.Data.SqlClient" />
</connectionStrings>

All I need is how to add or refer to that connection string inside my configmap file

eliew
  • 11
  • 3

0 Answers0