Setu-TS
    Preparing search index...

    Module health-plugin/src

    import { HealthPlugin, createHttpIndicator } from '@setu-ts/health-plugin';

    app.register(HealthPlugin({
    endpoints: {
    health: '/health',
    live: '/live',
    ready: '/ready',
    },
    indicators: [
    createHttpIndicator('external-api', { url: 'https://api.example.com/health' }),
    ],
    }));

    0.2.0

    HealthService
    HealthDiagnosticsOptions
    HealthDiagnosticsScheduledOptions
    HealthPluginOptions
    HttpIndicatorOptions
    HealthIndicatorEntry
    createHttpIndicator
    HealthPlugin
    HealthCheckResult → HealthCheckResult
    HealthDiagnosticsObservation → HealthDiagnosticsObservation
    HealthDiagnosticsSnapshot → HealthDiagnosticsSnapshot
    HealthIndicatorFn → HealthIndicatorFn
    HealthObservationState → HealthObservationState
    HealthReport → HealthReport
    HealthStatus → HealthStatus
    IHealthDiagnosticsSource → IHealthDiagnosticsSource
    IHealthIndicator → IHealthIndicator
    IHealthService → IHealthService