Page MenuHomeDevCentral

Use Etherpad /health endpoint
ClosedPublic

Authored by dereckson on Jan 7 2024, 00:40.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 08:14
Unknown Object (File)
Tue, Nov 19, 12:16
Unknown Object (File)
Mon, Nov 18, 16:46
Unknown Object (File)
Mon, Nov 18, 16:07
Unknown Object (File)
Mon, Nov 18, 15:04
Unknown Object (File)
Mon, Nov 18, 14:57
Unknown Object (File)
Mon, Nov 18, 14:49
Unknown Object (File)
Mon, Nov 18, 14:11
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.