gitlab-exporter 5.0.0 → 5.0.1

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: f502ec3421a906584b2c25168e01b109fdd1ede2eb7272b6ca183776b1997348
4
- data.tar.gz: 437fd79e17e184eca2a36344aacfa567962f25b588730a9a475db4b391ecd3ed
3
+ metadata.gz: fdd56172f3a01bd1e0cd2f2054aee6c8e4877e39847e6d242a7e9b51e04b1289
4
+ data.tar.gz: fa7a64cf59169efc726326fd7fb3c3e7bc832a9a10f3ea122e4bfad53f906ec8
5
5
  SHA512:
6
- metadata.gz: 84044e37e50cf94cdb9c61573b9376db2d02c1a824c0b7d33ada8552c9d4940512ae7616eb38897b11b7ce2d1e357b7fb94424488ffb0257eaecb042e630670f
7
- data.tar.gz: bb34b3901500f98c04a2eba61c6b195289a51b5c55bf5187fc872197b3c9017ee2418447ea317da7744adbbcb4706eb5376d8642b7787f6ecd2b77a59b886cf7
6
+ metadata.gz: 2d66f6aafab68e9d9e5cbde86a81d1f28385b887e35b4032cf76a147203208708a302a0e565340bd87c25c6a99e4e11f6ba39839644f79b9e78dce0b30f1b7dd
7
+ data.tar.gz: 3f80aa6f2bca1afc0593150471afc532d9d01aaf299a50f6a4b54fd13dba4dd59aadaa28bc4a495a84afd5a789a7ab463396bf94bcc62357b4434ee3200aeec0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (4.2.0)
4
+ gitlab-exporter (5.0.1)
5
5
  connection_pool (~> 2.2.1)
6
6
  pg (~> 1.1)
7
7
  quantile (~> 0.2.0)
@@ -23,7 +23,7 @@ GEM
23
23
  powerpack (0.1.1)
24
24
  quantile (0.2.1)
25
25
  rack (2.0.7)
26
- rack-protection (2.0.5)
26
+ rack-protection (2.0.7)
27
27
  rack
28
28
  rainbow (2.1.0)
29
29
  redis (4.1.2)
@@ -54,10 +54,10 @@ GEM
54
54
  rack (>= 1.5.0)
55
55
  rack-protection (>= 1.5.0)
56
56
  redis (>= 3.3.5, < 5)
57
- sinatra (2.0.5)
57
+ sinatra (2.0.7)
58
58
  mustermann (~> 1.0)
59
59
  rack (~> 2.0)
60
- rack-protection (= 2.0.5)
60
+ rack-protection (= 2.0.7)
61
61
  tilt (~> 2.0)
62
62
  tilt (2.0.9)
63
63
  unicode-display_width (1.1.0)
@@ -25,6 +25,8 @@ module GitLab
25
25
  ON application_settings.id = 1
26
26
  WHERE ci_builds.type = 'Ci::Build'
27
27
  AND ci_builds.status = '%s'
28
+ -- The created_at filter has been introduced for performance reasons only
29
+ AND ci_builds.created_at > NOW() - INTERVAL '7 days'
28
30
  AND projects.pending_delete = 'f'
29
31
  GROUP BY
30
32
  projects.namespace_id,
@@ -47,6 +49,8 @@ module GitLab
47
49
  ON projects.id = ci_builds.project_id
48
50
  WHERE ci_builds.type = 'Ci::Build'
49
51
  AND ci_builds.status = '%s'
52
+ -- The created_at filter has been introduced for performance reasons only
53
+ AND ci_builds.created_at > NOW() - INTERVAL '7 days'
50
54
  AND projects.pending_delete = 'f'
51
55
  GROUP BY
52
56
  projects.namespace_id,
@@ -95,6 +99,8 @@ module GitLab
95
99
  ON application_settings.id = 1
96
100
  WHERE ci_builds.type = 'Ci::Build'
97
101
  AND ci_builds.status = 'running'
102
+ -- The created_at filter has been introduced for performance reasons only
103
+ AND ci_builds.created_at > NOW() - INTERVAL '7 days'
98
104
  AND projects.pending_delete = 'f'
99
105
  GROUP BY
100
106
  ci_builds.runner_id,
@@ -127,6 +133,8 @@ module GitLab
127
133
  ON ci_pipelines.id = ci_builds.commit_id
128
134
  WHERE ci_builds.type = 'Ci::Build'
129
135
  AND ci_builds.status = 'running'
136
+ -- The created_at filter has been introduced for performance reasons only
137
+ AND ci_builds.created_at > NOW() - INTERVAL '7 days'
130
138
  AND projects.pending_delete = 'f'
131
139
  GROUP BY
132
140
  ci_builds.runner_id,
@@ -171,6 +179,8 @@ module GitLab
171
179
  ON application_settings.id = 1
172
180
  WHERE ci_builds.type = 'Ci::Build'
173
181
  AND ci_builds.status IN ('running', 'pending')
182
+ -- The created_at filter has been introduced for performance reasons only
183
+ AND ci_builds.created_at > NOW() - INTERVAL '7 days'
174
184
  GROUP BY
175
185
  projects.namespace_id,
176
186
  projects.shared_runners_enabled,
@@ -215,6 +225,8 @@ module GitLab
215
225
  ON namespaces.id = projects.namespace_id
216
226
  WHERE ci_builds.type = 'Ci::Build'
217
227
  AND ci_builds.status IN ('running', 'pending')
228
+ -- The created_at filter has been introduced for performance reasons only
229
+ AND ci_builds.created_at > NOW() - INTERVAL '7 days'
218
230
  GROUP BY
219
231
  projects.namespace_id,
220
232
  projects.shared_runners_enabled,
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "5.0.0".freeze
3
+ VERSION = "5.0.1".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: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza
@@ -206,7 +206,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  requirements: []
209
- rubygems_version: 3.0.3
209
+ rubyforge_project:
210
+ rubygems_version: 2.7.8
210
211
  signing_key:
211
212
  specification_version: 4
212
213
  summary: GitLab metrics exporter