Page MenuHomeDevCentral

Use Etherpad /health endpoint
ClosedPublic

Authored by dereckson on Jan 7 2024, 00:40.
Tags
None
Referenced Files
F37595772: D3263.id.diff
Tue, Jul 21, 10:53
F37552902: D3263.id8388.diff
Tue, Jul 21, 04:41
F37472769: D3263.diff
Mon, Jul 20, 17:07
Unknown Object (File)
Mon, Jul 20, 14:06
Unknown Object (File)
Mon, Jul 20, 14:02
Unknown Object (File)
Sun, Jul 19, 22:49
Unknown Object (File)
Mon, Jul 6, 15:01
Unknown Object (File)
Sun, Jul 5, 23:26
Subscribers
None

Details

Summary

Etherpad 1.9.0 has introduced a new /health endpoint.

It makes more sense to use this dedicated health check
than /stats coming from a plugin.

The /health response follows the Health Check Response Format
for HTTP APIs specification. Meanwhile, we can use the HTTP 200 code.

Reference: https://www.ietf.org/archive/id/draft-inadarei-api-health-check-06.html

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jan 8 2024, 18:43
This revision was automatically updated to reflect the committed changes.