Skip to content

Use HealthCheck from getStatus tool #187

Description

@jglick

What feature do you want to see added?

The part about “health” in

"Checks the health and readiness status of a Jenkins instance, including whether it's in quiet"
is not really true; if you are contacting this plugin at all, clearly the server is at least responding to HTTP traffic and routing Stapler, and mostly the response just reports various things that might be of interest to an admin but are not really timely status.

Suggesting querying the HealthCheck API specifically, and integrating those responses.

https://plugins.jenkins.io/metrics/ is probably too detailed and verbose. It would be useful to know about thread-deadlock but probably that is something to be implemented generically as a HealthCheck where it could be used for example by Kubernetes liveness probes.

Upstream changes

jenkinsci/jenkins#10522

Are you interested in contributing this feature?

Not at this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions