vinted-resque-metrics 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque/metrics/server/views/metrics.erb +8 -7
- data/resque-metrics.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5813e92e2ba43ff2610f803a8bb9aa47c9182ba6
|
4
|
+
data.tar.gz: 0b28a1b92d612d40c0864d676ed510b6a6e8352d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af20b51f2ce0955318cea1f65538c5e1006dc8f730a1b4985908f459231e718594bf878347355ffb7fa312f3403344a7f2c76b55dc99b51e4c5c2e19a926762d
|
7
|
+
data.tar.gz: 6a4e96c6bb136c1765896f15d928fe32c753df0cc49203ea62d25b54b1124fedac2fe4f54fc0c3bbcc93a8a102ae215dcc77f74ca1cc0b599540d4c1e3734fd7
|
@@ -65,20 +65,21 @@
|
|
65
65
|
|
66
66
|
<h2>Individual job metrics</h2>
|
67
67
|
|
68
|
-
<table class="
|
68
|
+
<table class="workers">
|
69
69
|
<tbody>
|
70
70
|
<tr>
|
71
71
|
<th>Job</th>
|
72
|
-
<th>
|
73
|
-
<th>
|
72
|
+
<th>Total count</th>
|
73
|
+
<th>Failed count</th>
|
74
|
+
<th>Average duration</th>
|
74
75
|
</tr>
|
75
76
|
|
76
77
|
<% Resque::Metrics.known_jobs.each do |job| %>
|
77
78
|
<tr>
|
78
|
-
<td class="queue"><%= job %></td>
|
79
|
-
<td class="
|
80
|
-
<td class="
|
81
|
-
<td class="
|
79
|
+
<td class="queues queue"><%= job %></td>
|
80
|
+
<td class="queues queue"><%= Resque::Metrics.total_job_count_by_job(job) %></td>
|
81
|
+
<td class="queues queue"><%= Resque::Metrics.failed_job_count_by_job(job) %></td>
|
82
|
+
<td class="process"><%= metrics_formatted_ms(Resque::Metrics.avg_job_time_by_job(job)) %></td>
|
82
83
|
</tr>
|
83
84
|
<% end %>
|
84
85
|
</tbody>
|
data/resque-metrics.gemspec
CHANGED