You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "hung (Jira)" <se...@james.apache.org> on 2024/09/05 03:44:00 UTC

[jira] [Updated] (JAMES-4068) Have several health checks in one rest calls

     [ https://issues.apache.org/jira/browse/JAMES-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hung updated JAMES-4068:
------------------------
    Description: 
# Why ?

K8S allows only a single liveness probe

But as an admin I would like to combine several healthchecks (IMAP checks, Cassandra checks) behind a liveness probe which today cannot be achieved.

# How?

Be able to pass an optional query parameter to `/healtchcheck` specifying which checks to execute

curl 127.0.0.1:8000/healthcheck?checks=RabbitMQJmapEventBusDeadLetterQueueHealthCheck+OpenSearch%20Backend

Would execute and aggregate only those 2 checks

  was:
|h1. Why ?
K8S allows only a single liveness probe
But as an admin I would like to combine several healthchecks (IMAP checks, Cassandra checks) behind a liveness probe which today cannot be achieved.h1. How?
Be able to pass an optional query parameter to {{/healtchcheck}} specifying which checks to execute
curl 127.0.0.1:8000/healthcheck?checks=RabbitMQJmapEventBusDeadLetterQueueHealthCheck+OpenSearch%20Backend
Would execute and aggregate only those 2 checks|
 


> Have several health checks in one rest calls
> --------------------------------------------
>
>                 Key: JAMES-4068
>                 URL: https://issues.apache.org/jira/browse/JAMES-4068
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: hung
>            Priority: Major
>
> # Why ?
> K8S allows only a single liveness probe
> But as an admin I would like to combine several healthchecks (IMAP checks, Cassandra checks) behind a liveness probe which today cannot be achieved.
> # How?
> Be able to pass an optional query parameter to `/healtchcheck` specifying which checks to execute
> curl 127.0.0.1:8000/healthcheck?checks=RabbitMQJmapEventBusDeadLetterQueueHealthCheck+OpenSearch%20Backend
> Would execute and aggregate only those 2 checks



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org