Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provide method to check server availability in driver #359

Closed
@oliverlockwood

Description

We already use the /_admin/server/availability HTTP endpoint as the healthcheck for ArangoDB containers in our deployment.

As part of migrating our microservices platform towards Kubernetes, we need to implement readiness checks for our microservices. Some of those services which make use of Arango need to consider Arango availability as part of the service readiness checks (not liveness checks).
See also spring-projects/spring-boot#23282

As such, it would be useful to be able to target the /_admin/server/availability HTTP endpoint - or have some other way of checking availability of Arango - through the driver Java interface.

In the absence of this I'm considering trying something like ArangoDatabase.getVersion() to determine availability, but that is clearly rather hacky. (If there's an alternative approach already available that you'd recommend, I'd welcome hearing about it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /