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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8f42e1e9a49a03fc261d95a4cd2accc527e3787
4
- data.tar.gz: 1ded893cb6028293b4705ca763936b4ed5d93bb4
3
+ metadata.gz: 5813e92e2ba43ff2610f803a8bb9aa47c9182ba6
4
+ data.tar.gz: 0b28a1b92d612d40c0864d676ed510b6a6e8352d
5
5
  SHA512:
6
- metadata.gz: 2398dc2a46f9a0512ba4986144016d37de009487b33aa8a88478fedde6baa2e22982b2364238ebd5790c987b7279c7686631617151851304124fe6511dc71138
7
- data.tar.gz: da92809652719dd962419390ac1c9f4606d902de6b2cf7dc088360179623973f150c1665a3d70e3036479140ed3da4a216118252090c0e9dce4d7b1215d42a69
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="queues">
68
+ <table class="workers">
69
69
  <tbody>
70
70
  <tr>
71
71
  <th>Job</th>
72
- <th>Jobs completed</th>
73
- <th>Jobs failed</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="size"><%= Resque::Metrics.total_job_count_by_job(job) %></td>
80
- <td class="size"><%= Resque::Metrics.failed_job_count_by_job(job) %></td>
81
- <td class="size"><%= metrics_formatted_ms(Resque::Metrics.avg_job_time_by_job(job)) %></td>
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>
@@ -6,7 +6,7 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "vinted-resque-metrics"
9
- s.version = "0.0.11"
9
+ s.version = "0.0.12"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vinted-resque-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Quint