Skip to content

Class ClickHouseDependencyHealthServiceCollectionExtensions

Namespace: Cephalon.Observability.ClickHouseDependencies.Hosting
Assembly: Cephalon.Observability.ClickHouseDependencies.dll

Adds ClickHouse dependency-health services to a Cephalon host.

public static class ClickHouseDependencyHealthServiceCollectionExtensions

objectClickHouseDependencyHealthServiceCollectionExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddCephalonClickHouseDependencyHealth(IServiceCollection, IConfiguration, Action<ClickHouseDependencyHealthOptions>?)

Section titled “ AddCephalonClickHouseDependencyHealth(IServiceCollection, IConfiguration, Action<ClickHouseDependencyHealthOptions>?)”

Adds ClickHouse dependency-health services using configuration as the primary source of probe settings.

public static IServiceCollection AddCephalonClickHouseDependencyHealth(this IServiceCollection services, IConfiguration configuration, Action<ClickHouseDependencyHealthOptions>? configure = null)

services IServiceCollection

The target service collection.

configuration IConfiguration

The application configuration root.

configure Action<ClickHouseDependencyHealthOptions>?

An optional callback that can extend or override the configuration-driven dependency-health setup.

IServiceCollection

The same service collection for further registration.

AddCephalonClickHouseDependencyHealth(IServiceCollection, Action<ClickHouseDependencyHealthOptions>?)

Section titled “ AddCephalonClickHouseDependencyHealth(IServiceCollection, Action<ClickHouseDependencyHealthOptions>?)”

Adds ClickHouse dependency-health services using code-first configuration.

public static IServiceCollection AddCephalonClickHouseDependencyHealth(this IServiceCollection services, Action<ClickHouseDependencyHealthOptions>? configure = null)

services IServiceCollection

The target service collection.

configure Action<ClickHouseDependencyHealthOptions>?

An optional callback that configures dependency-health options.

IServiceCollection

The same service collection for further registration.