示例#1
0
 private void UpdateNewRelicConfig()
 {
     foreach (var serviceName in ServiceNames)
     {
         var newRelicConfigPath     = Path.Combine(ApplicationPackagePath, $@"{serviceName}Pkg/Code/newrelic/newrelic.config");
         var newRelicConfigModifier = new NewRelicConfigModifier(newRelicConfigPath);
         newRelicConfigModifier.ForceTransactionTraces();
         newRelicConfigModifier.SetLogLevel("debug");
         newRelicConfigModifier.SetLicenseKey(TestConfiguration.LicenseKey);
         newRelicConfigModifier.SetHost(TestConfiguration.CollectorUrl);
     }
 }