Page MenuHomePhorge

health/status endpoint
Needs ReviewPublic

Authored by mollekopf on Mar 27 2023, 11:33 AM.
Referenced Files
Unknown Object (File)
Mon, Jun 24, 6:39 AM
Unknown Object (File)
Sun, Jun 23, 5:01 AM
Unknown Object (File)
Fri, Jun 21, 3:01 AM
Unknown Object (File)
Jun 10 2024, 11:54 AM
Unknown Object (File)
Jun 6 2024, 10:18 PM
Unknown Object (File)
May 31 2024, 5:15 PM
Unknown Object (File)
May 27 2024, 9:47 AM
Unknown Object (File)
May 22 2024, 5:38 PM

Diff Detail

rK kolab
Lint Warnings
No Test Coverage
Build Status
Buildable 42320
Build 17093: arc lint + arc unit

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Mar 27 2023, 11:34 AM
machniak added inline comments.

I would be careful here. The output may contain errors/exceptions. While services routes might be secure, I think it would be nice to have some clean and structured response, i.e. JSON?


200 is the default, we're not using this argument in most of other places.

Only check the required dependencies for now

It's faster this way


It's a bit of a workaround of course to simply return the command output, but the idea is to return information to what is failing exactly, and potentially why if we can.
Ideally we'd run individual checks with individual error messages combined in a nice json return value, but that will require some refactoring.

We could decide to only return what is failing and leave the why to logging (so only ok/errpr per check), but I feel like we're making our job unnecessarily difficult if we have to go dig through logs.