Skip to content

Commit

Permalink
Added back instrumentationkey
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKert committed Apr 27, 2019
1 parent f4de254 commit 3519228
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/BuildVision.Common/Diagnostics/DiagnosticsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static void Initialize(string edition, string vsVersion, string apiKey)
{
if (!string.IsNullOrWhiteSpace(apiKey))
{
TelemetryConfiguration.Active.InstrumentationKey = apiKey;
TelemetryConfiguration.Active.TelemetryChannel.DeveloperMode = Debugger.IsAttached;
TelemetryConfiguration.Active.TelemetryInitializers.Add(new VersionTelemetry());
TelemetryConfiguration.Active.TelemetryInitializers.Add(new SessionTelemetry(vsVersion, edition));
Expand Down
1 change: 0 additions & 1 deletion src/BuildVision/Services/BuildInformationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ public void BuildFinished(bool success, bool canceled)
_windowStateService.ApplyToolWindowStateAction(_packageSettingsProvider.Settings.WindowSettings.WindowActionOnBuildSuccess);
}


if (BuildInformationModel.FailedProjectsCount > 0)
{
if (_packageSettingsProvider.Settings.GeneralSettings.NavigateToBuildFailureReason == NavigateToBuildFailureReasonCondition.OnBuildDone)
Expand Down

0 comments on commit 3519228

Please sign in to comment.