Class EurekaServerHealthContributor
public class EurekaServerHealthContributor : IHealthContributor
- Inheritance
-
EurekaServerHealthContributor
- Implements
- Inherited Members
Constructors
EurekaServerHealthContributor(EurekaDiscoveryClient, EurekaApplicationInfoManager, ILogger<EurekaServerHealthContributor>)
public EurekaServerHealthContributor(EurekaDiscoveryClient discoveryClient, EurekaApplicationInfoManager appInfoManager, ILogger<EurekaServerHealthContributor> logger = null)
Parameters
discoveryClient
EurekaDiscoveryClientappInfoManager
EurekaApplicationInfoManagerlogger
ILogger<EurekaServerHealthContributor>
Properties
Id
Gets an identifier for the type of check being performed
public string Id { get; }
Property Value
Methods
Health()
Check the health of a resource
public HealthCheckResult Health()
Returns
- HealthCheckResult
The result of checking the health of a resource