Table of Contents

Class EurekaApplicationsHealthContributor

Namespace
Steeltoe.Discovery.Eureka
Assembly
Steeltoe.Discovery.Eureka.dll
public class EurekaApplicationsHealthContributor : IHealthContributor
Inheritance
EurekaApplicationsHealthContributor
Implements
Inherited Members

Constructors

EurekaApplicationsHealthContributor(EurekaDiscoveryClient, ILogger<EurekaApplicationsHealthContributor>)

public EurekaApplicationsHealthContributor(EurekaDiscoveryClient discoveryClient, ILogger<EurekaApplicationsHealthContributor> logger = null)

Parameters

discoveryClient EurekaDiscoveryClient
logger ILogger<EurekaApplicationsHealthContributor>

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