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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab_exporter/database/row_count.rb +21 -0
- data/lib/gitlab_exporter/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: d1df01fb9af6b719ede7d27727599d47dcfd46baf27fd4b31c20540803340011
|
4
|
+
data.tar.gz: 90513cdcb659dc6e08f00b90d1042df60c14854d65a90a5603270e2b06324452
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf8914ed4a7ac133c5cef0f34b5a49307d84b3c95eece363ea627d0e80ecb65e976c01ccb73cd58f4e611654d583c099bd10b6944d78b1dbd95308c98d61c70
|
7
|
+
data.tar.gz: ee65ee08b42d0c1b4313d72202d6849c9d9e6e45124a87eab4f0c66d8aebd360d4212a85b4889940399908045fba07fc0eb1798688939ad7c35b44c28d12dae2
|
data/Gemfile.lock
CHANGED
@@ -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
|
|