From c3e43c9ba38f8cc0f2fd4a918d052c3977a93421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chojnacki?= Date: Fri, 7 Apr 2017 10:27:15 +0000 Subject: Add /-/readiness /-/liveness and /-/health_metrics endpoints to track application readiness --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 1a851da6203..1da226a3b57 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -39,6 +39,12 @@ Rails.application.routes.draw do # Health check get 'health_check(/:checks)' => 'health_check#index', as: :health_check + scope path: '-', controller: 'health' do + get :liveness + get :readiness + get :metrics + end + # Koding route get 'koding' => 'koding#index' -- cgit v1.2.1