deployangel 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/deployangel/rails/http.rb +6 -0
- data/lib/deployangel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95e80de544815ec904e01198f948c81c722ddadb005f6e87761827ac1cb3a362
|
|
4
|
+
data.tar.gz: 6175861126a88ed4bc09bdaf600c03e1ce5cd88fa3361c53d7c761ff7a066b38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d20de4305540d12d4b24223c7f4eda020b0855b8205cbeac03c51bf8befc701cb783a1e4600c3781b7d15b906a739aa63988bacc4864bc15a286e32c0138405
|
|
7
|
+
data.tar.gz: 38682cdc5941ad48af3ed324356d5bf71309bc5fe2c41fd0c582198ce0315c1863575f5896b13516b634cf6d56e69aee1124a3491c2fa4aae28c49f4b6a77a59
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.6 (2026-10-04)
|
|
4
|
+
|
|
5
|
+
- Requests to Rails' health check (`rails/health#show`, at `/up` by default)
|
|
6
|
+
are no longer recorded, wherever it's mounted. Load balancers and uptime
|
|
7
|
+
monitors call it all the time and it always answers fast, so it made apps
|
|
8
|
+
look busier and healthier than their real pages. DeployAngel already
|
|
9
|
+
leaves out `/up` from older agents.
|
|
10
|
+
|
|
3
11
|
## 0.1.5 (2026-10-03)
|
|
4
12
|
|
|
5
13
|
- Declared recurring jobs from sidekiq-cron and sidekiq-scheduler, alongside
|
|
@@ -7,6 +7,10 @@ module DeployAngel
|
|
|
7
7
|
# never the raw path, which keeps IDs out of route keys.
|
|
8
8
|
class Http
|
|
9
9
|
FORMAT_SUFFIX = "(.:format)"
|
|
10
|
+
# Rails' health check (/up by default). Load balancers and uptime
|
|
11
|
+
# monitors call it all the time and it always answers fast, so
|
|
12
|
+
# counting it would make any app look busy and healthy.
|
|
13
|
+
HEALTH_CHECK_CONTROLLER = "rails/health"
|
|
10
14
|
|
|
11
15
|
def initialize(app)
|
|
12
16
|
@app = app
|
|
@@ -31,6 +35,8 @@ module DeployAngel
|
|
|
31
35
|
|
|
32
36
|
private
|
|
33
37
|
def record(env, status, started, unhandled:, exception: nil)
|
|
38
|
+
return if env["action_dispatch.request.path_parameters"]&.dig(:controller) == HEALTH_CHECK_CONTROLLER
|
|
39
|
+
|
|
34
40
|
route = route_key(env)
|
|
35
41
|
# Unrouted successes are static files and similar; unrouted
|
|
36
42
|
# errors (such as routing 404s) still count.
|
data/lib/deployangel/version.rb
CHANGED