提交 55f6b1ed 编写于 作者: F 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
......@@ -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
......
---
title: Added application readiness endpoints to the monitoring health check admin
view
merge_request:
author:
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册