promenade 0.10.0 → 0.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: 74c2f57f687ffba42cadfb976e0132ff7396568802cdafe06cd3386dc824be6d
4
- data.tar.gz: 021cea56c7dacde62e90c2b638796dfb995b95ea64e6a9dd811c1f8e656f3a02
3
+ metadata.gz: 7bc9e7a5eea7ac5b45433a918e6b54091707c782787222df5c55ec7cc58ce1ac
4
+ data.tar.gz: 35c5975acc909c8a5a7357b51456a18218f133071feb21085c761a0ab6dfa19e
5
5
  SHA512:
6
- metadata.gz: aa1e090da77fc3546b24dd57f6494beed29c11641cae29acc6f914e04140d06c058d00f2eb20a39e37a6c510a3451f4fd2b229267cd9835f8d3d204632f513b2
7
- data.tar.gz: 90b71c399a0d107ee01334a011f0a253acbb5d71ad3fedd809cb7956587e241f4dfceb728077799665e08365c396ef0a9e7072828ac1c5bbabc1b8fcdaf37fcb
6
+ metadata.gz: 7e129c3967cd01d47b1b35bd993063c0f39b691328ec4eef5c23240292e3eff55cf8a53acb2ef9e20651a310891fca04c2bb0bbccc65024688c4ed27fc10ae9c
7
+ data.tar.gz: 0cf13c348c38cfd1dba981ee2b6a0e9cae756bc5e7d6160675c326abb70353aa815eb97aad3f433e700e6547049c8549e5c7139b73eb7232c34d44084e22e1e6
@@ -9,7 +9,7 @@ jobs:
9
9
  strategy:
10
10
  fail-fast: false
11
11
  matrix:
12
- ruby: ['2.7', '3.0', "3.1", "3.2"]
12
+ ruby: ["3.0", "3.1", "3.2", "3.3"]
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
15
  - uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,76 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- promenade (0.10.0)
4
+ promenade (0.11.0)
5
5
  actionpack
6
6
  activesupport (> 6.0, < 8.0)
7
- prometheus-client-mmap (~> 0.16.0)
7
+ prometheus-client-mmap (~> 0.28)
8
8
  rack
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (7.0.4.2)
14
- actionpack (= 7.0.4.2)
15
- activesupport (= 7.0.4.2)
13
+ actioncable (7.0.6)
14
+ actionpack (= 7.0.6)
15
+ activesupport (= 7.0.6)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
- actionmailbox (7.0.4.2)
19
- actionpack (= 7.0.4.2)
20
- activejob (= 7.0.4.2)
21
- activerecord (= 7.0.4.2)
22
- activestorage (= 7.0.4.2)
23
- activesupport (= 7.0.4.2)
18
+ actionmailbox (7.0.6)
19
+ actionpack (= 7.0.6)
20
+ activejob (= 7.0.6)
21
+ activerecord (= 7.0.6)
22
+ activestorage (= 7.0.6)
23
+ activesupport (= 7.0.6)
24
24
  mail (>= 2.7.1)
25
25
  net-imap
26
26
  net-pop
27
27
  net-smtp
28
- actionmailer (7.0.4.2)
29
- actionpack (= 7.0.4.2)
30
- actionview (= 7.0.4.2)
31
- activejob (= 7.0.4.2)
32
- activesupport (= 7.0.4.2)
28
+ actionmailer (7.0.6)
29
+ actionpack (= 7.0.6)
30
+ actionview (= 7.0.6)
31
+ activejob (= 7.0.6)
32
+ activesupport (= 7.0.6)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  net-imap
35
35
  net-pop
36
36
  net-smtp
37
37
  rails-dom-testing (~> 2.0)
38
- actionpack (7.0.4.2)
39
- actionview (= 7.0.4.2)
40
- activesupport (= 7.0.4.2)
41
- rack (~> 2.0, >= 2.2.0)
38
+ actionpack (7.0.6)
39
+ actionview (= 7.0.6)
40
+ activesupport (= 7.0.6)
41
+ rack (~> 2.0, >= 2.2.4)
42
42
  rack-test (>= 0.6.3)
43
43
  rails-dom-testing (~> 2.0)
44
44
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
- actiontext (7.0.4.2)
46
- actionpack (= 7.0.4.2)
47
- activerecord (= 7.0.4.2)
48
- activestorage (= 7.0.4.2)
49
- activesupport (= 7.0.4.2)
45
+ actiontext (7.0.6)
46
+ actionpack (= 7.0.6)
47
+ activerecord (= 7.0.6)
48
+ activestorage (= 7.0.6)
49
+ activesupport (= 7.0.6)
50
50
  globalid (>= 0.6.0)
51
51
  nokogiri (>= 1.8.5)
52
- actionview (7.0.4.2)
53
- activesupport (= 7.0.4.2)
52
+ actionview (7.0.6)
53
+ activesupport (= 7.0.6)
54
54
  builder (~> 3.1)
55
55
  erubi (~> 1.4)
56
56
  rails-dom-testing (~> 2.0)
57
57
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
58
- activejob (7.0.4.2)
59
- activesupport (= 7.0.4.2)
58
+ activejob (7.0.6)
59
+ activesupport (= 7.0.6)
60
60
  globalid (>= 0.3.6)
61
- activemodel (7.0.4.2)
62
- activesupport (= 7.0.4.2)
63
- activerecord (7.0.4.2)
64
- activemodel (= 7.0.4.2)
65
- activesupport (= 7.0.4.2)
66
- activestorage (7.0.4.2)
67
- actionpack (= 7.0.4.2)
68
- activejob (= 7.0.4.2)
69
- activerecord (= 7.0.4.2)
70
- activesupport (= 7.0.4.2)
61
+ activemodel (7.0.6)
62
+ activesupport (= 7.0.6)
63
+ activerecord (7.0.6)
64
+ activemodel (= 7.0.6)
65
+ activesupport (= 7.0.6)
66
+ activestorage (7.0.6)
67
+ actionpack (= 7.0.6)
68
+ activejob (= 7.0.6)
69
+ activerecord (= 7.0.6)
70
+ activesupport (= 7.0.6)
71
71
  marcel (~> 1.0)
72
72
  mini_mime (>= 1.1.0)
73
- activesupport (7.0.4.2)
73
+ activesupport (7.0.6)
74
74
  concurrent-ruby (~> 1.0, >= 1.0.2)
75
75
  i18n (>= 1.6, < 2)
76
76
  minitest (>= 5.1)
@@ -89,12 +89,13 @@ GEM
89
89
  erubi (1.12.0)
90
90
  globalid (1.1.0)
91
91
  activesupport (>= 5.0)
92
- i18n (1.12.0)
92
+ i18n (1.14.1)
93
93
  concurrent-ruby (~> 1.0)
94
94
  json (2.6.3)
95
- loofah (2.19.1)
95
+ language_server-protocol (3.17.0.3)
96
+ loofah (2.21.3)
96
97
  crass (~> 1.0.2)
97
- nokogiri (>= 1.5.9)
98
+ nokogiri (>= 1.12.0)
98
99
  mail (2.8.1)
99
100
  mini_mime (>= 0.1.1)
100
101
  net-imap
@@ -103,9 +104,9 @@ GEM
103
104
  marcel (1.0.2)
104
105
  method_source (1.0.0)
105
106
  mini_mime (1.1.2)
106
- mini_portile2 (2.8.1)
107
- minitest (5.17.0)
108
- net-imap (0.3.4)
107
+ mini_portile2 (2.8.4)
108
+ minitest (5.18.1)
109
+ net-imap (0.3.6)
109
110
  date
110
111
  net-protocol
111
112
  net-pop (0.1.2)
@@ -114,58 +115,63 @@ GEM
114
115
  timeout
115
116
  net-smtp (0.3.3)
116
117
  net-protocol
117
- nio4r (2.5.8)
118
- nokogiri (1.14.2)
119
- mini_portile2 (~> 2.8.0)
118
+ nio4r (2.5.9)
119
+ nokogiri (1.15.3)
120
+ mini_portile2 (~> 2.8.2)
120
121
  racc (~> 1.4)
121
- parallel (1.22.1)
122
- parser (3.2.1.0)
122
+ parallel (1.23.0)
123
+ parser (3.2.2.3)
123
124
  ast (~> 2.4.1)
124
- prometheus-client-mmap (0.16.2)
125
- racc (1.6.2)
126
- rack (2.2.6.3)
127
- rack-test (2.0.2)
125
+ racc
126
+ prometheus-client-mmap (0.28.1)
127
+ rb_sys (~> 0.9)
128
+ racc (1.7.1)
129
+ rack (2.2.7)
130
+ rack-test (2.1.0)
128
131
  rack (>= 1.3)
129
- rails (7.0.4.2)
130
- actioncable (= 7.0.4.2)
131
- actionmailbox (= 7.0.4.2)
132
- actionmailer (= 7.0.4.2)
133
- actionpack (= 7.0.4.2)
134
- actiontext (= 7.0.4.2)
135
- actionview (= 7.0.4.2)
136
- activejob (= 7.0.4.2)
137
- activemodel (= 7.0.4.2)
138
- activerecord (= 7.0.4.2)
139
- activestorage (= 7.0.4.2)
140
- activesupport (= 7.0.4.2)
132
+ rails (7.0.6)
133
+ actioncable (= 7.0.6)
134
+ actionmailbox (= 7.0.6)
135
+ actionmailer (= 7.0.6)
136
+ actionpack (= 7.0.6)
137
+ actiontext (= 7.0.6)
138
+ actionview (= 7.0.6)
139
+ activejob (= 7.0.6)
140
+ activemodel (= 7.0.6)
141
+ activerecord (= 7.0.6)
142
+ activestorage (= 7.0.6)
143
+ activesupport (= 7.0.6)
141
144
  bundler (>= 1.15.0)
142
- railties (= 7.0.4.2)
143
- rails-dom-testing (2.0.3)
144
- activesupport (>= 4.2.0)
145
+ railties (= 7.0.6)
146
+ rails-dom-testing (2.1.1)
147
+ activesupport (>= 5.0.0)
148
+ minitest
145
149
  nokogiri (>= 1.6)
146
- rails-html-sanitizer (1.5.0)
147
- loofah (~> 2.19, >= 2.19.1)
148
- railties (7.0.4.2)
149
- actionpack (= 7.0.4.2)
150
- activesupport (= 7.0.4.2)
150
+ rails-html-sanitizer (1.6.0)
151
+ loofah (~> 2.21)
152
+ nokogiri (~> 1.14)
153
+ railties (7.0.6)
154
+ actionpack (= 7.0.6)
155
+ activesupport (= 7.0.6)
151
156
  method_source
152
157
  rake (>= 12.2)
153
158
  thor (~> 1.0)
154
159
  zeitwerk (~> 2.5)
155
160
  rainbow (3.1.1)
156
161
  rake (13.0.6)
157
- regexp_parser (2.7.0)
162
+ rb_sys (0.9.84)
163
+ regexp_parser (2.8.1)
158
164
  rexml (3.2.5)
159
165
  rspec (3.12.0)
160
166
  rspec-core (~> 3.12.0)
161
167
  rspec-expectations (~> 3.12.0)
162
168
  rspec-mocks (~> 3.12.0)
163
- rspec-core (3.12.1)
169
+ rspec-core (3.12.2)
164
170
  rspec-support (~> 3.12.0)
165
- rspec-expectations (3.12.2)
171
+ rspec-expectations (3.12.3)
166
172
  diff-lcs (>= 1.2.0, < 2.0)
167
173
  rspec-support (~> 3.12.0)
168
- rspec-mocks (3.12.3)
174
+ rspec-mocks (3.12.6)
169
175
  diff-lcs (>= 1.2.0, < 2.0)
170
176
  rspec-support (~> 3.12.0)
171
177
  rspec-rails (5.1.2)
@@ -176,40 +182,44 @@ GEM
176
182
  rspec-expectations (~> 3.10)
177
183
  rspec-mocks (~> 3.10)
178
184
  rspec-support (~> 3.10)
179
- rspec-support (3.12.0)
180
- rubocop (1.47.0)
185
+ rspec-support (3.12.1)
186
+ rubocop (1.54.2)
181
187
  json (~> 2.3)
188
+ language_server-protocol (>= 3.17.0)
182
189
  parallel (~> 1.10)
183
- parser (>= 3.2.0.0)
190
+ parser (>= 3.2.2.3)
184
191
  rainbow (>= 2.2.2, < 4.0)
185
192
  regexp_parser (>= 1.8, < 3.0)
186
193
  rexml (>= 3.2.5, < 4.0)
187
- rubocop-ast (>= 1.26.0, < 2.0)
194
+ rubocop-ast (>= 1.28.0, < 2.0)
188
195
  ruby-progressbar (~> 1.7)
189
196
  unicode-display_width (>= 2.4.0, < 3.0)
190
- rubocop-ast (1.27.0)
197
+ rubocop-ast (1.29.0)
191
198
  parser (>= 3.2.1.0)
192
- rubocop-capybara (2.17.1)
199
+ rubocop-capybara (2.18.0)
193
200
  rubocop (~> 1.41)
194
- rubocop-performance (1.16.0)
201
+ rubocop-factory_bot (2.23.1)
202
+ rubocop (~> 1.33)
203
+ rubocop-performance (1.18.0)
195
204
  rubocop (>= 1.7.0, < 2.0)
196
205
  rubocop-ast (>= 0.4.0)
197
- rubocop-rails (2.18.0)
206
+ rubocop-rails (2.20.2)
198
207
  activesupport (>= 4.2.0)
199
208
  rack (>= 1.1)
200
209
  rubocop (>= 1.33.0, < 2.0)
201
- rubocop-rspec (2.18.1)
210
+ rubocop-rspec (2.22.0)
202
211
  rubocop (~> 1.33)
203
212
  rubocop-capybara (~> 2.17)
204
- ruby-progressbar (1.12.0)
213
+ rubocop-factory_bot (~> 2.22)
214
+ ruby-progressbar (1.13.0)
205
215
  simplecov (0.21.2)
206
216
  docile (~> 1.1)
207
217
  simplecov-html (~> 0.11)
208
218
  simplecov_json_formatter (~> 0.1)
209
219
  simplecov-html (0.12.3)
210
220
  simplecov_json_formatter (0.1.4)
211
- thor (1.2.1)
212
- timeout (0.3.2)
221
+ thor (1.2.2)
222
+ timeout (0.4.0)
213
223
  tzinfo (2.0.6)
214
224
  concurrent-ruby (~> 1.0)
215
225
  unicode-display_width (2.4.2)
@@ -217,7 +227,7 @@ GEM
217
227
  websocket-driver (0.7.5)
218
228
  websocket-extensions (>= 0.1.0)
219
229
  websocket-extensions (0.1.5)
220
- zeitwerk (2.6.7)
230
+ zeitwerk (2.6.8)
221
231
 
222
232
  PLATFORMS
223
233
  ruby
@@ -240,4 +250,4 @@ DEPENDENCIES
240
250
  webrick
241
251
 
242
252
  BUNDLED WITH
243
- 2.3.16
253
+ 2.4.17
@@ -8,12 +8,12 @@ module Promenade
8
8
  module Client
9
9
  module Rack
10
10
  class HTTPRequestDurationCollector < MiddlwareBase
11
- REQUEST_DURATION_HISTOGRAM_NAME = :http_req_duration_seconds
11
+ REQUEST_DURATION_HISTOGRAM_NAME = :http_request_duration_seconds
12
12
 
13
13
  # We specifically want to record a separate metric `http_requests_total` even
14
- # though we know it is a duplicate of http_req_duration_seconds_count.
14
+ # though we know it is a duplicate of http_request_duration_seconds_count.
15
15
  # This is a very commonly used prometheus metric name, and is very useful
16
- # e.g. for autoscaling. Using the http_req_duration_seconds_count in such
16
+ # e.g. for autoscaling. Using the http_request_duration_seconds_count in such
17
17
  # queries can be confusing
18
18
  REQUESTS_COUNTER_NAME = :http_requests_total
19
19
 
@@ -7,7 +7,7 @@ module Promenade
7
7
  module Client
8
8
  module Rack
9
9
  class HTTPRequestQueueTimeCollector < MiddlwareBase
10
- REQUEST_QUEUE_TIME_HISTOGRAM_NAME = :http_req_queue_time_seconds
10
+ REQUEST_QUEUE_TIME_HISTOGRAM_NAME = :http_request_queue_time_seconds
11
11
 
12
12
  private_constant :REQUEST_QUEUE_TIME_HISTOGRAM_NAME
13
13
 
@@ -1,3 +1,3 @@
1
1
  module Promenade
2
- VERSION = "0.10.0".freeze
2
+ VERSION = "0.12.0".freeze
3
3
  end
data/promenade.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_dependency "actionpack"
28
28
  spec.add_dependency "activesupport", "> 6.0", "< 8.0"
29
- spec.add_dependency "prometheus-client-mmap", "~> 0.16.0"
29
+ spec.add_dependency "prometheus-client-mmap", "~> 0.28"
30
30
  spec.add_dependency "rack"
31
31
  spec.add_development_dependency "bundler", "~> 2.0"
32
32
  spec.add_development_dependency "byebug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promenade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-16 00:00:00.000000000 Z
11
+ date: 2024-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.16.0
53
+ version: '0.28'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.16.0
60
+ version: '0.28'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rack
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  - !ruby/object:Gem::Version
324
324
  version: '0'
325
325
  requirements: []
326
- rubygems_version: 3.2.32
326
+ rubygems_version: 3.4.10
327
327
  signing_key:
328
328
  specification_version: 4
329
329
  summary: Promenade makes it simple to instrument Ruby apps for prometheus scraping