Skip to content

Class ClickHouseDependencyDefinition

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

Describes one ClickHouse dependency that should contribute to runtime health.

public sealed class ClickHouseDependencyDefinition : DependencyDefinitionBase

objectDependencyDefinitionBaseClickHouseDependencyDefinition

DependencyDefinitionBase.Id, DependencyDefinitionBase.DisplayName, DependencyDefinitionBase.Required, DependencyDefinitionBase.TimeoutSeconds, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public ClickHouseDependencyDefinition()

Gets or sets the optional full ClickHouse connection string used for the probe.

public string? ConnectionString { get; set; }

string?

Gets or sets the optional ClickHouse database to select for the probe session.

public string? Database { get; set; }

string?

Gets or sets the SQL statement executed to verify the dependency.

public string HealthQuery { get; set; }

string

Gets or sets the ClickHouse host name or IP address to probe when no full connection string is supplied.

public string Host { get; set; }

string

Gets or sets the optional password used for authentication when no full connection string is supplied.

public string? Password { get; set; }

string?

Gets or sets the ClickHouse TCP port used by the selected protocol.

public int Port { get; set; }

int

Gets or sets the ClickHouse protocol used for the probe, such as http or https.

public string Protocol { get; set; }

string

Gets or sets the optional user name used for authentication when no full connection string is supplied.

public string? Username { get; set; }

string?