Monitoring and logging

As of now, the monitoring capabilities of Marblerun are basic. For status information, the Coordinator provides the /status endpoint in the client API. It returns the following information.

  • 0 recovery mode: Found a sealed state of an old seal key. Waiting for user input on /recover.
  • 1 uninitialized: Fresh start, initializing the Coordinator.
  • 2 waiting for a manifest: Waiting for user input on /manifest
  • 3 accepting marbles: Accepting Marbles through the Marble API

More details about the Coordinator can be retrieved through its log as follows.

kubectl -n marblerun logs -f marblerun-coordinator-xxxxxxxxxx-xxxxx

Going forward, plans are to support your favorite monitoring tool via logging through Prometheus and having a web dashboard with status and health information quickly accessible.