Closed
Description
Application Insights will start to support Connection Strings.
This will simplify the endpoint configuration necessary for some of our customers, specifically for customers that have a business need to connect to specific Azure Regions.
The Azure Portal will start displaying Connection Strings this week.
There will be an official blog post at a later date.
Ruleset
- check for explicit endpoint (location is ignored)
- check for endpoint suffix (location is optional)
- use classic endpoint (location is ignored)
Design
- New property:
TelemetryConfiguration.ConnectionString
- New method:
TelemetryConfiguration.SetConnectionString())
Connection string needs to be parsed (viaEndpointProvider
) and validated.
This method will setTelemetryConfiguration.InstrumentationKey
.
Resulting endpoints are set toTelemetryConfiguration.Endpoints
(EndpointContainer
).
This method will also updateTelemetryChannel.Endpoint
TODO
- Need to integrate Javascript SDK with AspNetCore SDK. Waiting for new Javascript SDK to be released with connection string support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment