govuk_app_config 2.2.2 → 2.3.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea28658d66a0e5421fd20cd22dc94b72cf8f5bce3dc1a40d5cd5f3925bf9970c
|
|
4
|
+
data.tar.gz: 1fc0356c07e8f9cf5c48084e2f11ac140d6ce90adafe0db256f5e418ccb3576c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f0e087f70da57392cb945f2230805e9b997d11d7eac775f4f90581ccff35c8d7e7b5f0916eb623ab9ed51f6aba3a7eb956eab19f835846f648421ef0c5cb4b9
|
|
7
|
+
data.tar.gz: 780780016b7a939732965de1c1f005ed4fab6d8fc662e0906b7570835142c5780f361acca0597387f023989b1ae55265a94d1e6d5782339b16d0636a27878c11
|
data/CHANGELOG.md
CHANGED
data/docs/healthchecks.md
CHANGED
|
@@ -128,24 +128,6 @@ class MySidekiqQueueLatencyCheck < GovukHealthcheck::SidekiqQueueLatencyCheck
|
|
|
128
128
|
end
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
### `SidekiqQueueSizeCheck`
|
|
132
|
-
|
|
133
|
-
This class is the basis for a check which compares the Sidekiq queue sizes
|
|
134
|
-
with warning or critical thresholds.
|
|
135
|
-
|
|
136
|
-
```ruby
|
|
137
|
-
class MySidekiqQueueSizeCheck < GovukHealthcheck::SidekiqQueueSizeCheck
|
|
138
|
-
def warning_threshold(queue:)
|
|
139
|
-
# the warning threshold for a particular queue
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
def critical_threshold(queue:)
|
|
143
|
-
# the critical threshold for a particular queue
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
|
|
149
131
|
### `SidekiqRetrySizeCheck`
|
|
150
132
|
|
|
151
133
|
Similar to `SidekiqQueueSizeCheck`, this class is the basis for a check which
|
|
@@ -4,7 +4,6 @@ require "govuk_app_config/govuk_healthcheck/sidekiq_redis"
|
|
|
4
4
|
require "govuk_app_config/govuk_healthcheck/threshold_check"
|
|
5
5
|
require "govuk_app_config/govuk_healthcheck/sidekiq_queue_check"
|
|
6
6
|
require "govuk_app_config/govuk_healthcheck/sidekiq_queue_latency_check"
|
|
7
|
-
require "govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check"
|
|
8
7
|
require "govuk_app_config/govuk_healthcheck/sidekiq_retry_size_check"
|
|
9
8
|
require "json"
|
|
10
9
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_app_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-09-
|
|
11
|
+
date: 2020-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|
|
@@ -240,7 +240,6 @@ files:
|
|
|
240
240
|
- lib/govuk_app_config/govuk_healthcheck/checkup.rb
|
|
241
241
|
- lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_check.rb
|
|
242
242
|
- lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_latency_check.rb
|
|
243
|
-
- lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
|
|
244
243
|
- lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
|
|
245
244
|
- lib/govuk_app_config/govuk_healthcheck/sidekiq_retry_size_check.rb
|
|
246
245
|
- lib/govuk_app_config/govuk_healthcheck/threshold_check.rb
|