Cluster Status

There is the possibility to enable an endpoint that outputs information about the cluster’s current status.

Note

This endpoint is currently still under heavy development, so there will be more information in the future.

By default, the endpoint is disabled until you set a username and password to access it. It’s not possible to access the endpoint without username and password.

To enable the endpoint set these two user variables:

  • MOLEHILL_STATUS_API_USERNAME

  • MOLEHILL_STATUS_API_PASSWORD

If you set these before starting molehill, you can then fetch the cluster status from the URL /v1/cluster/status.

It will look similar to this:

{
    "storage_used_mb" : 42000
}