Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SDK connection string#1187

Merged
TimothyMothra merged 69 commits into
developfrom
tilee/connectionString
Sep 24, 2019
Merged

SDK connection string#1187
TimothyMothra merged 69 commits into
developfrom
tilee/connectionString

Conversation

@TimothyMothra

@TimothyMothra TimothyMothra commented Aug 2, 2019

Copy link
Copy Markdown

#1221

Ruleset

  1. check for explicit endpoint (location is ignored)
  2. check for endpoint suffix (location is optional)
  3. use classic endpoint (location is ignored)

Design

  • New property: TelemetryConfiguration.ConnectionString
  • New method: TelemetryConfiguration.SetConnectionString())
    Connection string needs to be parsed (via EndpointProvider) and validated.
    This method will set TelemetryConfiguration.InstrumentationKey.
    Resulting endpoints are set to TelemetryConfiguration.Endpoints (EndpointContainer).
    This method will also update TelemetryChannel.Endpoint
  • Contains about 220 new Tests.

@TimothyMothra TimothyMothra added this to the 2.12 milestone Aug 2, 2019
@pharring

pharring commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

@jemodyMS @clguimanMSFT FYI

@TimothyMothra TimothyMothra marked this pull request as ready for review September 23, 2019 23:10
@TimothyMothra

Copy link
Copy Markdown
Author

@lmolkova Can you please re-review? You're currently blocking this PR. :)

@TimothyMothra TimothyMothra changed the title [WIP] SDK connection string SDK connection string Sep 23, 2019
@TimothyMothra TimothyMothra merged commit ed4cc44 into develop Sep 24, 2019
Comment thread CHANGELOG.md
Comment thread src/ServerTelemetryChannel/ServerTelemetryChannel.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants