Commit ad77ab03 authored by DJ Mountney's avatar DJ Mountney

Add Changelog entry

and drop exception handling around HealthCheck::Utils.process_checks, it wasn't needed
parent c8f23bd2
......@@ -12,6 +12,7 @@ v 8.8.0 (unreleased)
- Reduce delay in destroying a project from 1-minute to immediately
- Make build status canceled if any of the jobs was canceled and none failed
- Upgrade Sidekiq to 4.1.2
- Added /health_check endpoint for checking service status
- Sanitize repo paths in new project error message
- Bump mail_room to 0.7.0 to fix stuck IDLE connections
- Remove future dates from contribution calendar graph.
......
class Admin::HealthCheckController < Admin::ApplicationController
def show
begin
@errors = HealthCheck::Utils.process_checks('standard')
rescue => e
@errors = e.message.blank? ? e.class.to_s : e.message.to_s
end
end
end
......@@ -16,21 +16,21 @@
Health information can be reteived as plain text, json, or xml using:
%ul
%li
%code= health_check_url(token:current_application_settings.health_check_access_token)
%code= health_check_url(token: current_application_settings.health_check_access_token)
%li
%code= health_check_url(token:current_application_settings.health_check_access_token, format: :json)
%code= health_check_url(token: current_application_settings.health_check_access_token, format: :json)
%li
%code= health_check_url(token:current_application_settings.health_check_access_token, format: :xml)
%code= health_check_url(token: current_application_settings.health_check_access_token, format: :xml)
%p.light
You can also ask for the status of specific services:
%ul
%li
%code= health_check_url(token:current_application_settings.health_check_access_token, checks: :cache)
%code= health_check_url(token: current_application_settings.health_check_access_token, checks: :cache)
%li
%code= health_check_url(token:current_application_settings.health_check_access_token, checks: :database)
%code= health_check_url(token: current_application_settings.health_check_access_token, checks: :database)
%li
%code= health_check_url(token:current_application_settings.health_check_access_token, checks: :migrations)
%code= health_check_url(token: current_application_settings.health_check_access_token, checks: :migrations)
%hr
.panel.panel-default
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment