riemann.repl

The riemann REPL server is a bit of a special case. Since it controls almost every aspect of Riemann–and can shut those aspects down–it needs to live above them. While you usually start a repl server from the config file, it is not bound to the usual config lifecycle and won’t be shut down or interrupted during config reload.

server

start-server

(start-server opts)

Starts a new REPL server, when one isn’t already running.

start-server!

(start-server! opts)

Starts a new repl server. Stops the old server first, if any. Options:

  • :host (default “127.0.0.1”)
  • :port (default 5557)

stop-server!

(stop-server!)

Stops the REPL server.