app/controllers/status_controller.rb
# Use the `ping` endpoint for kubernetes probes, and this one
# for Pingdom or similar monitoring systems. Reason being this
# endpoint reports external dependencies that can fail, and
# kubernetes would kill the pods/containers if this happens.
#
Use the `ping` endpoint for kubernetes probes, and this one
for Pingdom or similar monitoring systems. Reason being this
endpoint reports external dependencies that can fail, and
kubernetes would kill the pods/containers if this happens.
Use the ` ping ` endpoint for kubernetes probes and this one for Pingdom or similar monitoring systems . Reason being this endpoint reports external dependencies that can fail and kubernetes would kill the pods / containers if this happens .
def index
    check = C100App::Status.new
    status_code = check.success? ? :ok : :internal_server_error
    respond_with(check.response, status: status_code)
  end
def index check = C100App :: Status . new status_code = check . success? ? :ok : :internal_server_error respond_with ( check . response , status : status_code ) end
Use the `ping` endpoint for kubernetes probes, and this one
for Pingdom or similar monitoring systems.
Use the ` ping ` endpoint for kubernetes probes and this one for Pingdom or similar monitoring systems .