Merge branch 'update-admin-health-page' into 'master'

Update admin health page with the application readiness endpoints

Closes #31359

See merge request !11388
This commit is contained in:
Filipa Lacerda 2017-05-17 13:37:47 +00:00
commit 55f6b1ed74
2 changed files with 10 additions and 14 deletions

View file

@ -16,24 +16,15 @@
= icon('spinner')
Reset health check access token
%p.light
Health information can be retrieved as plain text, JSON, or XML using:
Health information can be retrieved from the following endpoints. More information is available
= link_to 'here', help_page_path('user/admin_area/monitoring/health_check')
%ul
%li
%code= health_check_url(token: current_application_settings.health_check_access_token)
%code= readiness_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= liveness_url(token: current_application_settings.health_check_access_token)
%li
%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)
%li
%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= metrics_url(token: current_application_settings.health_check_access_token)
%hr
.panel.panel-default

View file

@ -0,0 +1,5 @@
---
title: Added application readiness endpoints to the monitoring health check admin
view
merge_request:
author: