Skip to content

Commit e4aeaa0

Browse files
authored
Merge pull request rails#52856 from p8/docs/health-check
Replace "healthcheck" with "health check" in documentation. [ci-skip]
2 parents cf2c6ea + 67719a9 commit e4aeaa0

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

guides/source/configuring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ The default store is a cookie store with the application name as the session key
595595

596596
#### `config.silence_healthcheck_path`
597597

598-
Specifies the path of the healthcheck that should be silenced in the logs. Uses `Rails::Rack::SilenceRequest` to implement the silencing. All in service of keeping healthchecks from clogging the production logs, especially for early-stage applications.
598+
Specifies the path of the health check that should be silenced in the logs. Uses `Rails::Rack::SilenceRequest` to implement the silencing. All in service of keeping health checks from clogging the production logs, especially for early-stage applications.
599599

600600
```
601601
config.silence_healthcheck_path = "/up"

railties/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*DHH*
1212

1313
* Add Rails::Rack::SilenceRequest middleware and use it via `config.silence_healthcheck_path = path`
14-
to silence requests to "/up". This prevents the Kamal-required healthchecks from clogging up
14+
to silence requests to "/up". This prevents the Kamal-required health checks from clogging up
1515
the production logs.
1616

1717
*DHH*

railties/lib/rails/generators/app_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def dockerfile_binfile_fixups
593593
end
594594

595595
def dockerfile_base_packages
596-
# Add curl to work with the default healthcheck strategy in Kamal
596+
# Add curl to work with the default health check strategy in Kamal
597597
packages = ["curl"]
598598

599599
# ActiveRecord databases

railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Rails.application.configure do
6060
# Skip http-to-https redirect for the default health check endpoint.
6161
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
6262

63-
# Prevent healthchecks from clogging up the logs.
63+
# Prevent health checks from clogging up the logs.
6464
config.silence_healthcheck_path = "/up"
6565

6666
# Log to STDOUT by default.

railties/lib/rails/rack/silence_request.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
module Rails
88
module Rack
99
# Allows you to silence requests made to a specific path.
10-
# This is useful for preventing recurring requests like healthchecks from clogging the logging.
10+
# This is useful for preventing recurring requests like health checks from clogging the logging.
1111
# This middleware is used to do just that against the path /up in production by default.
1212
#
1313
# Example:
1414
#
1515
# config.middleware.insert_before \
1616
# Rails::Rack::Logger, Rails::Rack::SilenceRequest, path: "/up"
1717
#
18-
# This middleware can also be configured using `config.silence_healthcheck = "/up"` in Rails.
18+
# This middleware can also be configured using `config.silence_healthcheck_path = "/up"` in Rails.
1919
class SilenceRequest
2020
def initialize(app, path:)
2121
@app, @path = app, path

0 commit comments

Comments
 (0)