Skip to content

Commit 5ac6e28

Browse files
committed
Tell ServicePulse it is running in embedded mode
1 parent cd28866 commit 5ac6e28

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<PackageVersion Include="ReactiveUI.WPF" Version="20.1.63" />
7575
<PackageVersion Include="Seq.Extensions.Logging" Version="8.0.0" />
7676
<PackageVersion Include="ServiceControl.Contracts" Version="5.1.0" />
77-
<PackageVersion Include="ServicePulse.Core" Version="2.5.0-alpha.0.57" />
77+
<PackageVersion Include="ServicePulse.Core" Version="2.5.0-alpha.0.58" />
7878
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" />
7979
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="8.0.1" />
8080
<PackageVersion Include="System.DirectoryServices.AccountManagement" Version="8.0.1" />

src/ServiceControl/Infrastructure/Settings/Settings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public Settings(
6969
EnableEmbeddedServicePulse = SettingsReader.Read(SettingsRootNamespace, "EnableEmbeddedServicePulse", true);
7070
ServicePulseSettings = ServicePulseSettings.GetFromEnvironmentVariables() with
7171
{
72-
ServiceControlUrl = ApiUrl
72+
ServiceControlUrl = ApiUrl,
73+
IsEmbedded = true
7374
};
7475
NotificationsFilter = SettingsReader.Read<string>(SettingsRootNamespace, "NotificationsFilter");
7576
RemoteInstances = GetRemoteInstances().ToArray();

0 commit comments

Comments
 (0)