@@ -28,7 +28,7 @@ static AzTrace()
2828 {
2929 try
3030 {
31- userProfilePath = string . IsNullOrEmpty ( azureConfigDir ) ? Path . Combine ( userProfile , ".Azure" , "azureProfile .json" ) : azureConfigDir ; // "AzureRmContextSettings.json") ;
31+ userProfilePath = string . IsNullOrEmpty ( azureConfigDir ) ? Path . Combine ( userProfile , ".Azure" , "AzureRmContextSettings .json" ) : azureConfigDir ;
3232 using var jsonStream = new FileStream ( userProfilePath , FileMode . Open , FileAccess . Read ) ;
3333 array = JsonSerializer . Deserialize < JsonElement > ( jsonStream ) ;
3434 s_installationId = array . GetProperty ( "Settings" ) . GetProperty ( "InstallationId" ) . GetString ( ) ;
@@ -153,7 +153,7 @@ private Telemetry()
153153 IServiceCollection services = new ServiceCollection ( )
154154 . AddApplicationInsightsTelemetryWorkerService ( ( ApplicationInsightsServiceOptions options ) =>
155155 {
156- // Application insights in the temp environment.
156+ // Application insights in the test environment.
157157 options . ConnectionString = "InstrumentationKey=eea660a1-d969-44f8-abe4-96666e7fb159" ;
158158 options . EnableHeartbeat = false ;
159159 options . EnableDiagnosticsTelemetryModule = false ;
@@ -181,7 +181,7 @@ private void LogTelemetry(AzTrace trace, Exception e = null)
181181 [ "Details" ] = GetDetailedMessage ( trace . Details ) ,
182182 } ;
183183
184- _telemetryClient . TrackTrace ( "AIShell-Test1022 " , telemetryEvent ) ;
184+ _telemetryClient . TrackTrace ( "AIShell" , telemetryEvent ) ;
185185 if ( e != null ) { _telemetryClient . TrackException ( e ) ; }
186186 _telemetryClient . Flush ( ) ;
187187 }
0 commit comments