Package reference page maintained from the source documentation in src/HealthChecks.IoTDB.

Apache IoTDB Health Check

This health check verifies the ability to communicate with Apache IoTDB. It uses the Apache.IoTDB.Data library.

NuGet

Nuget

dotnet add package DotNetDiag.HealthChecks.IoTDB

Example Usage

With all of the following examples, you can additionally add the following parameters:

Use a connection string

void Configure(IHealthChecksBuilder builder)
{
    builder.Services
        .AddHealthChecks()
        .AddIoTDB("DataSource=localhost;Port=6667;Username=root;Password=root");
}

Use IoTDBHealthCheckOptions for advanced configuration

void Configure(IHealthChecksBuilder builder)
{
    builder.Services
        .AddHealthChecks()
        .AddIoTDB(new IoTDBHealthCheckOptions
        {
            ConnectionString = "DataSource=localhost;Port=6667;Username=root;Password=root",
            EnableRpcCompression = true
        });
}