Cairnloop.Router (cairnloop v0.2.1)

Copy Markdown View Source

Summary

Functions

Mounts the operations endpoints a host needs for monitoring (OPS-01, OPS-02)

Functions

cairnloop_dashboard(path, opts \\ [])

(macro)

cairnloop_operations(opts \\ [])

(macro)

Mounts the operations endpoints a host needs for monitoring (OPS-01, OPS-02):

Call it from your host router, typically outside any authentication pipeline so infrastructure can reach the probes:

scope "/" do
  cairnloop_operations()
end

Options:

  • :health_path — override the health path (default "/health").
  • :metrics_path — override the metrics path (default "/metrics").