Skip to content

healthcheck endpoint: fail if database latency is high #7749

@bpmct

Description

@bpmct

If I am understanding correctly, Coder may be basically unusable, or outright fail if the server has high latency to the database.

If so, perhaps we also modify our health check endpoint (https://dev.coder.com/api/v2/debug/health) to fail if database latency is too high. This would require some investigation into what an acceptable latency is.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions