@vk-public/health
v1.0.3
Published
Centralized health check server for Node.js services
Readme
@vk/health
Health check utilities and server for NetAgent services.
Features
- Express-based health check server.
/healthendpoint with detailed status.- Prometheus metrics integration.
- Extensible health indicators.
Usage
import { startHealthCheckServer } from '@vk/health'
startHealthCheckServer({
indicators: {
db: async () => ({ status: 'up' }),
redis: async () => ({ status: 'down', details: { error: 'Connection refused' } })
}
})