Commit 55f6b1ed authored by Filipa Lacerda's avatar Filipa Lacerda

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

Update admin health page with the application readiness endpoints

Closes #31359

See merge request !11388
parents 576ed605 94a6c0de
...@@ -16,24 +16,15 @@ ...@@ -16,24 +16,15 @@
= icon('spinner') = icon('spinner')
Reset health check access token Reset health check access token
%p.light %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 %ul
%li %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 %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 %li
%code= health_check_url(token: current_application_settings.health_check_access_token, format: :xml) %code= metrics_url(token: current_application_settings.health_check_access_token)
%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)
%hr %hr
.panel.panel-default .panel.panel-default
......
---
title: Added application readiness endpoints to the monitoring health check admin
view
merge_request:
author:
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