Page MenuHomeDevCentral

Use Etherpad /health endpoint
ClosedPublic

Authored by dereckson on Jan 7 2024, 00:40.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 9, 07:15
Unknown Object (File)
Wed, Aug 5, 11:23
Unknown Object (File)
Sun, Aug 2, 22:46
Unknown Object (File)
Sat, Jul 25, 10:54
Unknown Object (File)
Tue, Jul 21, 10:53
Unknown Object (File)
Tue, Jul 21, 04:41
Unknown Object (File)
Mon, Jul 20, 17:07
Unknown Object (File)
Mon, Jul 20, 14:06
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.