This repository has been archived by the owner on Dec 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Tom Kerkhove edited this page Aug 15, 2017
·
3 revisions
The connector enables you to configure two settings:
- Swagger.EnableUi - Indication whether or not SwaggerUI should be exposed or not
- ApplicationInsights.Runtime.InstrumentationKey - Instrumentation key of the Application Insights-instance you want to use to monitor the API App itself
- ApplicationInsights.InstrumentationKey - Instrumentation key of the Application Insights-instance you want to use to as the default instance when no instrumention key is mentioned when calling the connector
This is how it looks like in your web.config:
<appSettings>
<add key="Swagger.EnableUi" value="true" />
<add key="ApplicationInsights.InstrumentationKey" value="_Appliation-Insights-Instrumentation-Key_" />
<add key="ApplicationInsights.Runtime.InstrumentationKey" value="_Appliation-Insights-for-API-App-Instrumentation-Key_" />
</appSettings>