Table of Contents

Class EurekaServerHealthContributor

Namespace
Steeltoe.Discovery.Eureka
Assembly
Steeltoe.Discovery.Eureka.dll
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 EurekaDiscoveryClient
appInfoManager EurekaApplicationInfoManager
logger ILogger<EurekaServerHealthContributor>

Properties

Id

Gets an identifier for the type of check being performed

public string Id { get; }

Property Value

string

Methods

Health()

Check the health of a resource

public HealthCheckResult Health()

Returns

HealthCheckResult

The result of checking the health of a resource