Add abra app <app> health to check health of app #117

Open
opened 2021-03-21 19:43:40 +00:00 by decentral1se · 2 comments
Owner

Sometimes I wanna know if an app is flapping and I have to run watch abra app <app> ps and wait a bit to know but it'd be nicer to run a health command which answers this by looking in the docker service inspect output. Some stuff we can think about answering:

  • did last deployment succeed? (no rollback)
  • show the app uptime
  • is the app stuck in an error loop and flapping (x restarts per min or uptime check?)
  • does ps --no-trunc show any errors?

This would help with understanding the state of the node and checking before doing an upgrade or some action that things are stable.

Sometimes I wanna know if an app is flapping and I have to run `watch abra app <app> ps` and wait a bit to know but it'd be nicer to run a health command which answers this by looking in the `docker service inspect` output. Some stuff we can think about answering: - did last deployment succeed? (no rollback) - show the app uptime - is the app stuck in an error loop and flapping (x restarts per min or uptime check?) - does `ps --no-trunc` show any errors? This would help with understanding the state of the node and checking before doing an upgrade or some action that things are stable.
decentral1se added this to the Beta release milestone 2021-03-21 19:43:40 +00:00
decentral1se added the
enhancement
label 2021-03-21 19:43:40 +00:00
Author
Owner

Stuff like aa717c2323/abra (L666) will help.

Stuff like https://git.autonomic.zone/coop-cloud/abra/src/commit/aa717c23236120d2b11d0aeeb0cc21e4a13706e1/abra#L666 will help.
Author
Owner

A lot of these are covered by #165.

But still, things might be flapping outside of a deployment.

Another thing that comes to mind is if the healtcheck reports healthy status.

A lot of these are covered by https://git.autonomic.zone/coop-cloud/abra/issues/165. But still, things might be flapping outside of a deployment. Another thing that comes to mind is if the healtcheck reports healthy status.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#117
No description provided.