# HealthCheck

`class` in `services` · v0.7.1

<https://docs.seedcord.org/packages/services/0.7.1/classes/health-check>

HTTP health check service for monitoring bot status.

Provides a simple HTTP endpoint that responds with JSON status information, useful for container orchestration and monitoring.

```ts
class HealthCheck
```

## Constructors

### constructor

```ts
HealthCheck(shutdown: CoordinatedShutdown, options?: HealthCheckConfig)
```

Constructs a new instance of the `HealthCheck` class

## Properties

### host

```ts
public readonly host: string | undefined
```

### logger

```ts
public readonly logger: Logger
```

### path

```ts
public readonly path: string
```

### port

```ts
public readonly port: number
```

## Methods

### init

```ts
public async init(): Promise<void>
```

Starts the health check server.

### stop

```ts
public async stop(): Promise<void>
```

Stops the health check server.
