Class EurekaHealthOptions
- Namespace
- Steeltoe.Discovery.Eureka.Configuration
- Assembly
- Steeltoe.Discovery.Eureka.dll
public sealed class EurekaHealthOptions
- Inheritance
-
EurekaHealthOptions
- Inherited Members
Properties
CheckEnabled
Gets or sets a value indicating whether to query ASP.NET Core health checks and IHealthContributors during registration and renewals, in order to determine the status of the running app to report back to Eureka. Default value: true.
public bool CheckEnabled { get; set; }
Property Value
ContributorEnabled
Gets or sets a value indicating whether to activate an IHealthContributor that verifies connectivity to the Eureka server. Default value: true.
[ConfigurationKeyName("Enabled")]
public bool ContributorEnabled { get; set; }
Property Value
MonitoredApps
Gets or sets a comma-separated list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by EurekaApplicationsHealthContributor, which requires manual addition to the IoC container.
public string? MonitoredApps { get; set; }