Add basic server status page at /status.

Lists versions of various dependencies plus some Postgres and Redis
metrics.
This commit is contained in:
evazion
2020-12-17 03:05:27 -06:00
parent ee4516f5fe
commit 7a87225ac8
5 changed files with 170 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class StatusController < ApplicationController
respond_to :html, :json, :xml
def show
@status = ServerStatus.new
respond_with(@status)
end
end