Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic health checks #4

Open
davissp14 opened this issue Dec 5, 2021 · 1 comment
Open

Add basic health checks #4

davissp14 opened this issue Dec 5, 2021 · 1 comment

Comments

@davissp14
Copy link

davissp14 commented Dec 5, 2021

Add some basic health checks to cover:

  1. Connectivity
    Something that periodically issues a PING would be fine.

  2. Connections
    Something that communicates active connections/max connections.

  3. Disk/Memory/CPU/IO
    Same VM stats as PG would be fine. However, we will need to tweak memory alerting a bit for configurations with a memory eviction policy set.

There's plenty more we could add, but I think this would be a good start.

@davissp14
Copy link
Author

We should leverage the check library that we use for postgres-ha/postgres-standalone:
https://github.com/fly-apps/postgres-ha/tree/main/pkg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant