gitlab-exporter 11.9.0 → 11.12.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: 48cad756413c6f691c0acf2251277c3f26adfc0ad6669fa2b15e02302b35f4d2
4
- data.tar.gz: aea36d63dce2dd0727a7d2a6689ebbd10939069c53f8a617324427c4712e8846
3
+ metadata.gz: 4a32d2d434759d54a6661dc050113ac3d20eeaaf5abc453db48926984755e658
4
+ data.tar.gz: 1911db0aaa4991db904318248cfb2e144bcc7725ac03a860eafde62574037262
5
5
  SHA512:
6
- metadata.gz: 75b9cc9ae044929dbaac0480c462cf4ba6cc36fc4d726fbd0fa87305594c9bd6a486e1856fc49e4de3a83cb5fb8d478f52dcb8a12a198da6c64b126ffd513e56
7
- data.tar.gz: 2acd3d4acf2bae7c2ce60236b1576b33cbc13ef15d72c5123931624221e87bc1434294e4d4a0952d54c2ff52fa017d825c7cc3507427031ed12424923183b4df
6
+ metadata.gz: a50c437ce7c0a7571c65364541a317fba5d469d5b4f21e21cd9f447291e8c3a6c7ecc9a131858259c23f47d11feb63501d5d7f35e906c0f819a63c26c3270f08
7
+ data.tar.gz: e79d81db7723357408c28eccfd0c4470e7644adda4314442b9f19474005cc612752c1270e64b7898f5f287ddcdb9ee777738284ed54525ba3ad16c3218a54921
data/Gemfile.lock CHANGED
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (11.9.0)
4
+ gitlab-exporter (11.12.0)
5
5
  connection_pool (= 2.2.5)
6
6
  faraday (~> 1.8.0)
7
7
  pg (= 1.2.3)
8
- puma (= 5.5.2)
8
+ puma (= 5.6.2)
9
9
  quantile (= 0.2.1)
10
10
  redis (= 4.4.0)
11
11
  redis-namespace (= 1.6.0)
12
- sidekiq (= 6.3.1)
12
+ sidekiq (= 6.4.0)
13
13
  sinatra (~> 2.1.0)
14
14
 
15
15
  GEM
@@ -45,7 +45,7 @@ GEM
45
45
  parser (3.0.0.0)
46
46
  ast (~> 2.4.1)
47
47
  pg (1.2.3)
48
- puma (5.5.2)
48
+ puma (5.6.2)
49
49
  nio4r (~> 2.0)
50
50
  quantile (0.2.1)
51
51
  rack (2.2.3)
@@ -83,7 +83,7 @@ GEM
83
83
  parser (>= 2.7.1.5)
84
84
  ruby-progressbar (1.11.0)
85
85
  ruby2_keywords (0.0.5)
86
- sidekiq (6.3.1)
86
+ sidekiq (6.4.0)
87
87
  connection_pool (>= 2.2.2)
88
88
  rack (~> 2.0)
89
89
  redis (>= 4.2.0)
@@ -107,4 +107,4 @@ DEPENDENCIES
107
107
  webrick (~> 1.7)
108
108
 
109
109
  BUNDLED WITH
110
- 2.2.22
110
+ 2.2.29
@@ -23,11 +23,11 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency "connection_pool", "2.2.5"
24
24
  s.add_runtime_dependency "faraday", "~> 1.8.0"
25
25
  s.add_runtime_dependency "pg", "1.2.3"
26
- s.add_runtime_dependency "puma", "5.5.2"
26
+ s.add_runtime_dependency "puma", "5.6.2"
27
27
  s.add_runtime_dependency "quantile", "0.2.1"
28
28
  s.add_runtime_dependency "redis", "4.4.0"
29
29
  s.add_runtime_dependency "redis-namespace", "1.6.0"
30
- s.add_runtime_dependency "sidekiq", "6.3.1"
30
+ s.add_runtime_dependency "sidekiq", "6.4.0"
31
31
  s.add_runtime_dependency "sinatra", "~> 2.1.0"
32
32
 
33
33
  s.add_development_dependency "rspec", "~> 3.7.0"
@@ -131,6 +131,37 @@ module GitLab
131
131
  visibility_level: {},
132
132
  root: { definition: "(parent_id IS NULL)" }
133
133
  }
134
+ },
135
+ container_repositories_migration_pending: {
136
+ select: :container_repositories,
137
+ where: <<~SQL
138
+ migration_state <> 'import_done'
139
+ AND created_at < '2022-01-23 00:00:00'
140
+ SQL
141
+ },
142
+ container_repositories_pre_importing: {
143
+ select: :container_repositories,
144
+ where: "migration_state = 'pre_importing'"
145
+ },
146
+ container_repositories_importing: {
147
+ select: :container_repositories,
148
+ where: "migration_state = 'importing'"
149
+ },
150
+ container_repositories_pre_import_done: {
151
+ select: :container_repositories,
152
+ where: "migration_state = 'pre_import_done'"
153
+ },
154
+ container_repositories_import_done: {
155
+ select: :container_repositories,
156
+ where: "migration_state = 'import_done'"
157
+ },
158
+ container_repositories_import_skipped: {
159
+ select: :container_repositories,
160
+ where: "migration_state = 'import_skipped'"
161
+ },
162
+ container_repositories_import_aborted: {
163
+ select: :container_repositories,
164
+ where: "migration_state = 'import_aborted'"
134
165
  }
135
166
  }.freeze
136
167
 
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "11.9.0".freeze
3
+ VERSION = "11.12.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.9.0
4
+ version: 11.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 5.5.2
61
+ version: 5.6.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 5.5.2
68
+ version: 5.6.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: quantile
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 6.3.1
117
+ version: 6.4.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 6.3.1
124
+ version: 6.4.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sinatra
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  - !ruby/object:Gem::Version
240
240
  version: '0'
241
241
  requirements: []
242
- rubygems_version: 3.0.3
242
+ rubygems_version: 3.0.3.1
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: GitLab metrics exporter