Project

General

Profile

Actions

Feature #42008

closed

Expose default Rails health check endpoint "/up" for load balancers and uptime monitoring

Added by Lorenz Schori 2 months ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Administration
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

There is a default health check controller available since rails 7.1 (PR).

Newly generated rails apps automatically expose this at the /up route (routes.rb.tt). Add this to redmine routes.rb as well.

Exposing a dedicated health check route makes deployments in containers and behind load balancers more robust and simplifies service monitoring.


Files

rails-health-check.diff (919 Bytes) rails-health-check.diff Lorenz Schori, 2024-12-17 15:25
Actions #1

Updated by Go MAEDA 2 months ago

  • Category set to Administration
  • Target version set to Candidate for next major release
Actions #2

Updated by Go MAEDA 20 days ago

  • Target version changed from Candidate for next major release to 6.0.4

Setting the target version to 6.0.4.

Actions #3

Updated by Go MAEDA 19 days ago

  • Subject changed from Expose default rails health check to Expose default Rails health check endpoint "/up" for load balancers and uptime monitoring
Actions #4

Updated by Go MAEDA 17 days ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch in r23487.
Thank you for your contribution.

Actions #5

Updated by Go MAEDA 16 days ago

  • Status changed from Resolved to Closed

Merged the change into the 6.0-stable branch in r23490.

Actions

Also available in: Atom PDF