Page MenuHomeDevCentral

Use Etherpad /health endpoint
ClosedPublic

Authored by dereckson on Jan 7 2024, 00:40.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 26, 13:29
Unknown Object (File)
Wed, Jun 18, 01:39
Unknown Object (File)
Tue, Jun 17, 04:50
Unknown Object (File)
Mon, Jun 16, 21:00
Unknown Object (File)
Mon, Jun 16, 19:58
Unknown Object (File)
Mon, Jun 16, 05:10
Unknown Object (File)
Wed, Jun 11, 17:22
Unknown Object (File)
Wed, Jun 11, 06:46
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.