Skip to content

Add Postgres and Redis connectivity checks #4

@vidya381

Description

@vidya381

When DATABASE_URL or REDIS_URL is in the env, try connecting:

  • Postgres → pgx connect + ping
  • Redis → PING command

Add internal/checks/postgres.go and internal/checks/redis.go.
Dependencies needed: github.com/jackc/pgx/v5, github.com/redis/go-redis/v9

Metadata

Metadata

Assignees

Labels

checkerAdding a new checkhelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions