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: c5f678cf6bda651a47bdef20c6797c07dd441d65e32cab0f19f95ce4041aa3ea
4
- data.tar.gz: bf3c17de28c3c7ca1499af447635f7a43047e05208d24be705796f7a4e5a92d6
3
+ metadata.gz: ea28658d66a0e5421fd20cd22dc94b72cf8f5bce3dc1a40d5cd5f3925bf9970c
4
+ data.tar.gz: 1fc0356c07e8f9cf5c48084e2f11ac140d6ce90adafe0db256f5e418ccb3576c
5
5
  SHA512:
6
- metadata.gz: 1849ad797e75cea6e7524d56ae97330ac6803725b28324c32f398679d270bf7f8e2f2f1badd9defdc362be68869b5cb8187521a55bac21e53c71fb79d023e4db
7
- data.tar.gz: 153f6f67e25d21d098bf86495a353c75189b895a1f8cfff2cc756f42269d6698cea6da7a40fcbb69d7a685e6d2157856c19487d00e4fb4fde3561e400dcc8089
6
+ metadata.gz: 3f0e087f70da57392cb945f2230805e9b997d11d7eac775f4f90581ccff35c8d7e7b5f0916eb623ab9ed51f6aba3a7eb956eab19f835846f648421ef0c5cb4b9
7
+ data.tar.gz: 780780016b7a939732965de1c1f005ed4fab6d8fc662e0906b7570835142c5780f361acca0597387f023989b1ae55265a94d1e6d5782339b16d0636a27878c11
@@ -1,3 +1,7 @@
1
+ # 2.3.0
2
+
3
+ * Remove unused SidekiqQueueSizeCheck healthcheck base class
4
+
1
5
  # 2.2.2
2
6
 
3
7
  * Add www.googletagmanager.com and www.gstatic.com to Content Security Policy (https://github.com/alphagov/govuk_app_config/pull/153)
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "2.2.2".freeze
2
+ VERSION = "2.3.0".freeze
3
3
  end
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.2.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-04 00:00:00.000000000 Z
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
@@ -1,11 +0,0 @@
1
- module GovukHealthcheck
2
- class SidekiqQueueSizeCheck < SidekiqQueueCheck
3
- def name
4
- :sidekiq_queue_size
5
- end
6
-
7
- def queues
8
- @queues ||= Sidekiq::Stats.new.queues
9
- end
10
- end
11
- end