gitlab-exporter 11.13.1 → 11.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5402d26356c57a44d17cfe4bc0671a18db3c80b7fabc3452446f57a58dd26f0
4
- data.tar.gz: 70998dd64701d73c13aabb21bba32d66010cb316a60edaf251572950a6408dff
3
+ metadata.gz: d1df01fb9af6b719ede7d27727599d47dcfd46baf27fd4b31c20540803340011
4
+ data.tar.gz: 90513cdcb659dc6e08f00b90d1042df60c14854d65a90a5603270e2b06324452
5
5
  SHA512:
6
- metadata.gz: 2f81d4d8b7394e8f58169a02886371ff0c70b0137511270cb26169473079b05b4407b8decd4ee376579606be9c2379b16494c8f2c32264a62c6d7bb9711624fb
7
- data.tar.gz: 82f705c5933bd7671010c2336dc2bff6d06dc90957c662ebf3c19af9a7dc46b6905ff7da4f5074eb7e4f44ce5a2c9d18f060e115e039303a8adbb007f6d4b7ae
6
+ metadata.gz: 0bf8914ed4a7ac133c5cef0f34b5a49307d84b3c95eece363ea627d0e80ecb65e976c01ccb73cd58f4e611654d583c099bd10b6944d78b1dbd95308c98d61c70
7
+ data.tar.gz: ee65ee08b42d0c1b4313d72202d6849c9d9e6e45124a87eab4f0c66d8aebd360d4212a85b4889940399908045fba07fc0eb1798688939ad7c35b44c28d12dae2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (11.13.1)
4
+ gitlab-exporter (11.14.0)
5
5
  connection_pool (= 2.2.5)
6
6
  faraday (~> 1.8.0)
7
7
  pg (= 1.2.3)
@@ -186,6 +186,27 @@ module GitLab
186
186
  AND (migration_plan IN ('free', 'early_adopter')
187
187
  OR migration_plan IS NULL)
188
188
  SQL
189
+ },
190
+ container_repositories_stalled_pre_importing: {
191
+ select: :container_repositories,
192
+ where: <<~SQL
193
+ migration_state = 'pre_importing'
194
+ AND (COALESCE(migration_pre_import_started_at, '01-01-1970') < (now() - INTERVAL '10 minutes'))
195
+ SQL
196
+ },
197
+ container_repositories_stalled_pre_import_done: {
198
+ select: :container_repositories,
199
+ where: <<~SQL
200
+ migration_state = 'pre_import_done'
201
+ AND (COALESCE(migration_pre_import_done_at, '01-01-1970') < (now() - INTERVAL '5 minutes'))
202
+ SQL
203
+ },
204
+ container_repositories_stalled_importing: {
205
+ select: :container_repositories,
206
+ where: <<~SQL
207
+ migration_state = 'importing'
208
+ AND (COALESCE(migration_import_started_at, '01-01-1970') < (now() - INTERVAL '5 minutes'))
209
+ SQL
189
210
  }
190
211
  }.freeze
191
212
 
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "11.13.1".freeze
3
+ VERSION = "11.14.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.13.1
4
+ version: 11.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza