Skip to content

Health checks (/health, /ready) #25

@unrealbg

Description

@unrealbg

Problem

No health endpoints for liveness and readiness, making monitoring and orchestration harder.

Proposal

  • Add /health for liveness (always returns OK)
  • Add /ready for readiness (checks DB connectivity and disk space)
  • Tag and log responses

Alternatives considered

  • Health checks only via external tools.

Acceptance criteria

  • /health returns OK regardless of DB state
  • /ready checks DB connectivity and disk space
  • Responses tagged and logged

Technical notes

  • Microsoft.Extensions.Diagnostics.HealthChecks
  • Map endpoints and add Serilog logging

Risks

  • Health endpoints may be abused for info leaks if not secured/logged.

Additional context

Labels: devops

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions