pipeline_toolkit 1.2.14 → 1.2.15

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.
@@ -0,0 +1,59 @@
1
+ <html>
2
+ <head>
3
+ <title>Pipeline Toolkit Monitor</title>
4
+ <meta charset="UTF-8">
5
+ <style type="text/css">
6
+ body {
7
+ background: black;
8
+ color: #80c0c0;
9
+ }
10
+ h1 {
11
+ font: 14pt Monospace;
12
+ text-align:center;
13
+ }
14
+ h2 {
15
+ font: 12pt Monospace;
16
+ text-align:center;
17
+ }
18
+ table {
19
+ font: 10pt Monospace;
20
+ margin-left:auto;
21
+ margin-right:auto;
22
+ text-align:right;
23
+ }
24
+ .page {
25
+ position:relative;
26
+ top: 20%;
27
+ # border-style:solid;
28
+ # border-width:5px;
29
+ width: 80%;
30
+ margin-left:auto;
31
+ margin-right:auto;
32
+ }
33
+ </style>
34
+ </head>
35
+ <body>
36
+ <div class=page>
37
+ <h1>
38
+ Pipeline Toolkit Monitor
39
+ </h1>
40
+ <h2>
41
+ <%= structure.join("->") %>
42
+ </h2>
43
+ <table>
44
+ <tr>
45
+ <td>pid:</td><td><%= process_id %></td>
46
+ </tr>
47
+ <tr>
48
+ <td>host:</td><td><%= hostname %></td>
49
+ </tr>
50
+ <tr>
51
+ <td>throughput:</td><td><%= mps.to_i %></td>
52
+ </tr>
53
+ <tr>
54
+ <td>uptime:</td><td><%= uptime / 60 %>mins</td>
55
+ </tr>
56
+ </table>
57
+ </div>
58
+ </body>
59
+ </html>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 14
9
- version: 1.2.14
8
+ - 15
9
+ version: 1.2.15
10
10
  platform: ruby
11
11
  authors:
12
12
  - Aisha Fenton
@@ -181,6 +181,7 @@ files:
181
181
  - lib/pipeline_toolkit/message_pusher.rb
182
182
  - lib/pipeline_toolkit/message_sink.rb
183
183
  - lib/pipeline_toolkit/message_subscriber.rb
184
+ - lib/pipeline_toolkit/monitoring/monitor.erb
184
185
  - lib/pipeline_toolkit/monitoring/monitor_server.rb
185
186
  - lib/pipeline_toolkit/util/hash_ext.rb
186
187
  - lib/pipeline_toolkit/util/indifferent_hash.rb