Table of Contents

Class EndpointServiceCollectionExtensions

Namespace
Steeltoe.Management.Endpoint.Health
Assembly
Steeltoe.Management.EndpointCore.dll
public static class EndpointServiceCollectionExtensions
Inheritance
EndpointServiceCollectionExtensions
Inherited Members

Methods

AddHealthActuator(IServiceCollection, IConfiguration)

Adds components of the Health actuator to Microsoft-DI

public static void AddHealthActuator(this IServiceCollection services, IConfiguration config)

Parameters

services IServiceCollection

Service collection to add health to

config IConfiguration

Application configuration (this actuator looks for a settings starting with management:endpoints:health)

AddHealthActuator(IServiceCollection, IConfiguration, IHealthAggregator, params Type[])

Adds components of the Health actuator to Microsoft-DI

public static void AddHealthActuator(this IServiceCollection services, IConfiguration config, IHealthAggregator aggregator, params Type[] contributors)

Parameters

services IServiceCollection

Service collection to add health to

config IConfiguration

Application configuration (this actuator looks for a settings starting with management:endpoints:health)

aggregator IHealthAggregator

Custom health aggregator

contributors Type[]

Contributors to application health

AddHealthActuator(IServiceCollection, IConfiguration, params Type[])

Adds components of the Health actuator to Microsoft-DI

public static void AddHealthActuator(this IServiceCollection services, IConfiguration config, params Type[] contributors)

Parameters

services IServiceCollection

Service collection to add health to

config IConfiguration

Application configuration (this actuator looks for a settings starting with management:endpoints:health)

contributors Type[]

Contributors to application health

AddHealthContributors(IServiceCollection, params Type[])

public static void AddHealthContributors(IServiceCollection services, params Type[] contributors)

Parameters

services IServiceCollection
contributors Type[]