sidekiq_insight 0.1.1 → 0.1.2

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: 930b6bcd68d1c5dc1fde7fcae30c3cb6a3cd2474a97452b5010938ff035a1bd4
4
- data.tar.gz: e05a5f5fc51daab73546c665440ceee09b501365dabcdcac012a7484436269c7
3
+ metadata.gz: 9a06ade156189032258b457a59abf0ba9170a329c60125a5737fa4af9d2a8cd1
4
+ data.tar.gz: 1debff8a16c16efd9141a1c42e91defd492b4615431f62e556e02ec35d31948c
5
5
  SHA512:
6
- metadata.gz: f109133f4a1783e2540881b0f3645303a1dbea628a424a64e65484fa907710e1a5678c3ae336a08336754dcfa9f8e40a9d3614ec3af35b66a9289f29435a9d28
7
- data.tar.gz: 53c8919b50ae46727fb6873a25c3277190e367c4527982cecb1080ba16706e09c03e6973c710ae82b8d9c163ed16993027d4024e0e1f67f66ede05796229118b
6
+ metadata.gz: defffd0a2ab3f43929dea9c38275b715c22944c3a9fd89ae33958211a96073ca60795890a63bd48308f70e89f1aa35ec1293909f755b383f08e0410d853248d7
7
+ data.tar.gz: 4019d580803d24512bf4ae4f4cac80d829c781f3a9f77dc49bb47e39d89b91d0c66a2394c4c0de7efb33094fbe9ac11f58274d89d36709a09b149fecac21ef82
data/Gemfile.lock ADDED
@@ -0,0 +1,254 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sidekiq_insight (0.1.1)
5
+ chartkick
6
+ get_process_mem
7
+ groupdate
8
+ redis
9
+ sidekiq
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ action_text-trix (2.1.15)
15
+ railties
16
+ actioncable (8.1.1)
17
+ actionpack (= 8.1.1)
18
+ activesupport (= 8.1.1)
19
+ nio4r (~> 2.0)
20
+ websocket-driver (>= 0.6.1)
21
+ zeitwerk (~> 2.6)
22
+ actionmailbox (8.1.1)
23
+ actionpack (= 8.1.1)
24
+ activejob (= 8.1.1)
25
+ activerecord (= 8.1.1)
26
+ activestorage (= 8.1.1)
27
+ activesupport (= 8.1.1)
28
+ mail (>= 2.8.0)
29
+ actionmailer (8.1.1)
30
+ actionpack (= 8.1.1)
31
+ actionview (= 8.1.1)
32
+ activejob (= 8.1.1)
33
+ activesupport (= 8.1.1)
34
+ mail (>= 2.8.0)
35
+ rails-dom-testing (~> 2.2)
36
+ actionpack (8.1.1)
37
+ actionview (= 8.1.1)
38
+ activesupport (= 8.1.1)
39
+ nokogiri (>= 1.8.5)
40
+ rack (>= 2.2.4)
41
+ rack-session (>= 1.0.1)
42
+ rack-test (>= 0.6.3)
43
+ rails-dom-testing (~> 2.2)
44
+ rails-html-sanitizer (~> 1.6)
45
+ useragent (~> 0.16)
46
+ actiontext (8.1.1)
47
+ action_text-trix (~> 2.1.15)
48
+ actionpack (= 8.1.1)
49
+ activerecord (= 8.1.1)
50
+ activestorage (= 8.1.1)
51
+ activesupport (= 8.1.1)
52
+ globalid (>= 0.6.0)
53
+ nokogiri (>= 1.8.5)
54
+ actionview (8.1.1)
55
+ activesupport (= 8.1.1)
56
+ builder (~> 3.1)
57
+ erubi (~> 1.11)
58
+ rails-dom-testing (~> 2.2)
59
+ rails-html-sanitizer (~> 1.6)
60
+ activejob (8.1.1)
61
+ activesupport (= 8.1.1)
62
+ globalid (>= 0.3.6)
63
+ activemodel (8.1.1)
64
+ activesupport (= 8.1.1)
65
+ activerecord (8.1.1)
66
+ activemodel (= 8.1.1)
67
+ activesupport (= 8.1.1)
68
+ timeout (>= 0.4.0)
69
+ activestorage (8.1.1)
70
+ actionpack (= 8.1.1)
71
+ activejob (= 8.1.1)
72
+ activerecord (= 8.1.1)
73
+ activesupport (= 8.1.1)
74
+ marcel (~> 1.0)
75
+ activesupport (8.1.1)
76
+ base64
77
+ bigdecimal
78
+ concurrent-ruby (~> 1.0, >= 1.3.1)
79
+ connection_pool (>= 2.2.5)
80
+ drb
81
+ i18n (>= 1.6, < 2)
82
+ json
83
+ logger (>= 1.4.2)
84
+ minitest (>= 5.1)
85
+ securerandom (>= 0.3)
86
+ tzinfo (~> 2.0, >= 2.0.5)
87
+ uri (>= 0.13.1)
88
+ base64 (0.3.0)
89
+ bigdecimal (3.3.1)
90
+ builder (3.3.0)
91
+ chartkick (5.2.1)
92
+ concurrent-ruby (1.3.5)
93
+ connection_pool (3.0.2)
94
+ crass (1.0.6)
95
+ date (3.5.1)
96
+ drb (2.2.3)
97
+ erb (6.0.0)
98
+ erubi (1.13.1)
99
+ ffi (1.17.2-aarch64-linux-gnu)
100
+ ffi (1.17.2-aarch64-linux-musl)
101
+ ffi (1.17.2-arm-linux-gnu)
102
+ ffi (1.17.2-arm-linux-musl)
103
+ ffi (1.17.2-arm64-darwin)
104
+ ffi (1.17.2-x86_64-darwin)
105
+ ffi (1.17.2-x86_64-linux-gnu)
106
+ ffi (1.17.2-x86_64-linux-musl)
107
+ get_process_mem (1.0.0)
108
+ bigdecimal (>= 2.0)
109
+ ffi (~> 1.0)
110
+ globalid (1.3.0)
111
+ activesupport (>= 6.1)
112
+ groupdate (6.7.0)
113
+ activesupport (>= 7.1)
114
+ i18n (1.14.7)
115
+ concurrent-ruby (~> 1.0)
116
+ io-console (0.8.1)
117
+ irb (1.15.3)
118
+ pp (>= 0.6.0)
119
+ rdoc (>= 4.0.0)
120
+ reline (>= 0.4.2)
121
+ json (2.17.1)
122
+ logger (1.7.0)
123
+ loofah (2.24.1)
124
+ crass (~> 1.0.2)
125
+ nokogiri (>= 1.12.0)
126
+ mail (2.9.0)
127
+ logger
128
+ mini_mime (>= 0.1.1)
129
+ net-imap
130
+ net-pop
131
+ net-smtp
132
+ marcel (1.1.0)
133
+ mini_mime (1.1.5)
134
+ minitest (5.26.2)
135
+ net-imap (0.5.12)
136
+ date
137
+ net-protocol
138
+ net-pop (0.1.2)
139
+ net-protocol
140
+ net-protocol (0.2.2)
141
+ timeout
142
+ net-smtp (0.5.1)
143
+ net-protocol
144
+ nio4r (2.7.5)
145
+ nokogiri (1.18.10-aarch64-linux-gnu)
146
+ racc (~> 1.4)
147
+ nokogiri (1.18.10-aarch64-linux-musl)
148
+ racc (~> 1.4)
149
+ nokogiri (1.18.10-arm-linux-gnu)
150
+ racc (~> 1.4)
151
+ nokogiri (1.18.10-arm-linux-musl)
152
+ racc (~> 1.4)
153
+ nokogiri (1.18.10-arm64-darwin)
154
+ racc (~> 1.4)
155
+ nokogiri (1.18.10-x86_64-darwin)
156
+ racc (~> 1.4)
157
+ nokogiri (1.18.10-x86_64-linux-gnu)
158
+ racc (~> 1.4)
159
+ nokogiri (1.18.10-x86_64-linux-musl)
160
+ racc (~> 1.4)
161
+ pp (0.6.3)
162
+ prettyprint
163
+ prettyprint (0.2.0)
164
+ psych (5.3.0)
165
+ date
166
+ stringio
167
+ racc (1.8.1)
168
+ rack (3.2.4)
169
+ rack-session (2.1.1)
170
+ base64 (>= 0.1.0)
171
+ rack (>= 3.0.0)
172
+ rack-test (2.2.0)
173
+ rack (>= 1.3)
174
+ rackup (2.3.1)
175
+ rack (>= 3)
176
+ rails (8.1.1)
177
+ actioncable (= 8.1.1)
178
+ actionmailbox (= 8.1.1)
179
+ actionmailer (= 8.1.1)
180
+ actionpack (= 8.1.1)
181
+ actiontext (= 8.1.1)
182
+ actionview (= 8.1.1)
183
+ activejob (= 8.1.1)
184
+ activemodel (= 8.1.1)
185
+ activerecord (= 8.1.1)
186
+ activestorage (= 8.1.1)
187
+ activesupport (= 8.1.1)
188
+ bundler (>= 1.15.0)
189
+ railties (= 8.1.1)
190
+ rails-dom-testing (2.3.0)
191
+ activesupport (>= 5.0.0)
192
+ minitest
193
+ nokogiri (>= 1.6)
194
+ rails-html-sanitizer (1.6.2)
195
+ loofah (~> 2.21)
196
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
197
+ railties (8.1.1)
198
+ actionpack (= 8.1.1)
199
+ activesupport (= 8.1.1)
200
+ irb (~> 1.13)
201
+ rackup (>= 1.0.0)
202
+ rake (>= 12.2)
203
+ thor (~> 1.0, >= 1.2.2)
204
+ tsort (>= 0.2)
205
+ zeitwerk (~> 2.6)
206
+ rake (13.3.1)
207
+ rdoc (6.17.0)
208
+ erb
209
+ psych (>= 4.0.0)
210
+ tsort
211
+ redis (5.4.1)
212
+ redis-client (>= 0.22.0)
213
+ redis-client (0.26.2)
214
+ connection_pool
215
+ reline (0.6.3)
216
+ io-console (~> 0.5)
217
+ securerandom (0.4.1)
218
+ sidekiq (8.0.10)
219
+ connection_pool (>= 2.5.0)
220
+ json (>= 2.9.0)
221
+ logger (>= 1.6.2)
222
+ rack (>= 3.1.0)
223
+ redis-client (>= 0.23.2)
224
+ stringio (3.1.9)
225
+ thor (1.4.0)
226
+ timeout (0.5.0)
227
+ tsort (0.2.0)
228
+ tzinfo (2.0.6)
229
+ concurrent-ruby (~> 1.0)
230
+ uri (1.1.1)
231
+ useragent (0.16.11)
232
+ websocket-driver (0.8.0)
233
+ base64
234
+ websocket-extensions (>= 0.1.0)
235
+ websocket-extensions (0.1.5)
236
+ zeitwerk (2.7.3)
237
+
238
+ PLATFORMS
239
+ aarch64-linux-gnu
240
+ aarch64-linux-musl
241
+ arm-linux-gnu
242
+ arm-linux-musl
243
+ arm64-darwin
244
+ x86_64-darwin
245
+ x86_64-linux-gnu
246
+ x86_64-linux-musl
247
+
248
+ DEPENDENCIES
249
+ rails
250
+ rake (~> 13.0)
251
+ sidekiq_insight!
252
+
253
+ BUNDLED WITH
254
+ 2.7.1
@@ -32,7 +32,7 @@
32
32
  <li class="nav-item"><a class="nav-link" href="<%= sidekiq_insight.cpu_path %>">CPU</a></li>
33
33
  <li class="nav-item"><a class="nav-link" href="<%= sidekiq_insight.rss_path %>">Memory</a></li>
34
34
  <li class="nav-item"><a class="nav-link" href="<%= sidekiq_insight.leaks_path %>">Leak Detector</a></li>
35
- <li class="nav-item"><a class="nav-link" href="<%= sidekiq_insight.wall_path %>">Wall Time (ms)</a></li>
35
+ <li class="nav-item"><a class="nav-link" href="<%= sidekiq_insight.wall_path %>">Wall Time Analysis</a></li>
36
36
 
37
37
  </ul>
38
38
  </div>
@@ -18,7 +18,7 @@
18
18
  <% @jobs.each do |job| %>
19
19
  <tr>
20
20
  <td><strong><%= job[:key] %></strong></td>
21
- <td><%= job[:avg_cpu_ms].round(2) %></td>
21
+ <td><%= job[:avg_cpu_ms].round(2) %> ms</td>
22
22
  <td><%= job[:count] %></td>
23
23
  </tr>
24
24
  <% end %>
@@ -24,8 +24,8 @@
24
24
  <% @leak_jobs.each do |job| %>
25
25
  <tr class="table-danger">
26
26
  <td><strong><%= job[:key] %></strong></td>
27
- <td><%= job[:avg_mem_kb].round(2) %></td>
28
- <td><%= job[:avg_cpu_ms].round(2) %></td>
27
+ <td><%= job[:avg_mem_kb].round(2) %> KB</td>
28
+ <td><%= job[:avg_cpu_ms].round(2) %> ms</td>
29
29
  <td><%= job[:count] %></td>
30
30
  </tr>
31
31
  <% end %>
@@ -9,7 +9,7 @@
9
9
  <thead class="table-light">
10
10
  <tr>
11
11
  <th>Job</th>
12
- <th>Avg RSS (ms)</th>
12
+ <th>Avg RSS (KB)</th>
13
13
  <th>Avg CPU (ms)</th>
14
14
  <th>Runs</th>
15
15
  </tr>
@@ -11,7 +11,7 @@
11
11
  <thead class="table-light">
12
12
  <tr>
13
13
  <th>Job</th>
14
- <th>Avg RSS (ms)</th>
14
+ <th>Avg RSS (KB)</th>
15
15
  <th>Avg CPU (ms)</th>
16
16
  <th>Runs</th>
17
17
  </tr>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqInsight
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_insight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrmalvi
@@ -104,6 +104,7 @@ extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
106
  - Gemfile
107
+ - Gemfile.lock
107
108
  - LICENSE.txt
108
109
  - README.md
109
110
  - Rakefile