telemetry 1.1.17 → 1.1.18

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
  SHA1:
3
- metadata.gz: 8b4bd391de1c6290032e814a39da14bac76dc4c1
4
- data.tar.gz: d5899c6456d2b8c889a67c0b15671d174c57428e
3
+ metadata.gz: a3822123edb439375a9f676aef16120539ed4ff3
4
+ data.tar.gz: 06ea31158c4f8720533b6ba6c0c1144592692d9b
5
5
  SHA512:
6
- metadata.gz: d7ad1123a4359b0b9b895cd64c3293c028d66e63c4098901edc9b1cb6e625b435b76bef8daf32385934ee7d46ca7c3a18b58f3494acfc26e1a799d32589c894b
7
- data.tar.gz: 217c442e59bbdd23d5e1bfbfae91f830c71343c5026b0df3e86bb1793182fba3df89cdb0962814ef9cf705c808ff3946b633d7a6ebff455ca8bb07125ecdb37a
6
+ metadata.gz: bbd55799b9f7af4790c0e6ae3ef6d23556b320a6eefc468da25f14c4c7fcc11e63651d35388e28d9e3e046e644263b56803cfd17a41165010869ded86abb8582
7
+ data.tar.gz: 3aa1933e9e8c55f8c7e551604fa49f9bec8baa20ccbd681f57b5b80d7e8f33c1f2898b21a9fc1d890daa055039a58cb276b30fb477fe2f873d61b7f5cd972c09
@@ -74,6 +74,16 @@ module TelemetryDaemon
74
74
  @@tasks << [ :countdown, tag, frequency, offset, block ]
75
75
  end
76
76
 
77
+ def custom(tag, frequency = 0, offset=nil, &block)
78
+ @@tasks ||= []
79
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
80
+ end
81
+
82
+ def funnelchart(tag, frequency = 0, offset=nil, &block)
83
+ @@tasks ||= []
84
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
85
+ end
86
+
77
87
  def gauge(tag, frequency = 0, offset=nil, &block)
78
88
  @@tasks ||= []
79
89
  @@tasks << [ :gauge, tag, frequency, offset, block ]
@@ -84,11 +94,26 @@ module TelemetryDaemon
84
94
  @@tasks << [ :graph, tag, frequency, offset, block ]
85
95
  end
86
96
 
97
+ def grid(tag, frequency = 0, offset=nil, &block)
98
+ @@tasks ||= []
99
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
100
+ end
101
+
102
+ def histogram(tag, frequency = 0, offset=nil, &block)
103
+ @@tasks ||= []
104
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
105
+ end
106
+
87
107
  def icon(tag, frequency = 0, offset=nil, &block)
88
108
  @@tasks ||= []
89
109
  @@tasks << [ :icon, tag, frequency, offset, block ]
90
110
  end
91
111
 
112
+ def image(tag, frequency = 0, offset=nil, &block)
113
+ @@tasks ||= []
114
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
115
+ end
116
+
92
117
  def iframe(tag, frequency = 0, offset=nil, &block)
93
118
  @@tasks ||= []
94
119
  @@tasks << [ :iframe, tag, frequency, offset, block ]
@@ -114,6 +139,16 @@ module TelemetryDaemon
114
139
  @@tasks << [ :multivalue, tag, frequency, offset, block ]
115
140
  end
116
141
 
142
+ def piechart(tag, frequency = 0, offset=nil, &block)
143
+ @@tasks ||= []
144
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
145
+ end
146
+
147
+ def scatterplot(tag, frequency = 0, offset=nil, &block)
148
+ @@tasks ||= []
149
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
150
+ end
151
+
117
152
  def servers(tag, frequency = 0, offset=nil, &block)
118
153
  @@tasks ||= []
119
154
  @@tasks << [ :servers, tag, frequency, offset, block ]
@@ -164,6 +199,11 @@ module TelemetryDaemon
164
199
  @@tasks << [ :value, tag, frequency, offset, block ]
165
200
  end
166
201
 
202
+ def waterfall(tag, frequency = 0, offset=nil, &block)
203
+ @@tasks ||= []
204
+ @@tasks << [ :countdown, tag, frequency, offset, block ]
205
+ end
206
+
167
207
  def run_scheduled_flow_updates
168
208
  @@buffer = {}
169
209
  @@tasks ||= {}
@@ -31,6 +31,7 @@ module Telemetry
31
31
  property :expires_at
32
32
  property :priority
33
33
  property :icon
34
+ property :link
34
35
  property :bars, :default => []
35
36
  end
36
37
 
@@ -42,6 +43,7 @@ module Telemetry
42
43
  property :expires_at
43
44
  property :priority
44
45
  property :icon
46
+ property :link
45
47
  property :bulletcharts, :default => []
46
48
  end
47
49
 
@@ -53,10 +55,35 @@ module Telemetry
53
55
  property :expires_at
54
56
  property :priority
55
57
  property :icon
58
+ property :link
56
59
  property :time, :required => true
57
60
  property :message, :required => true
58
61
  end
59
62
 
63
+ # Custom
64
+ class Custom < Hashie::Dash
65
+ include TelemetryFlows
66
+ property :tag, :required => true
67
+ property :title
68
+ property :expires_at
69
+ property :priority
70
+ property :icon
71
+ property :link
72
+ property :data, :required => true
73
+ end
74
+
75
+ # Funnel Chart
76
+ class Funnelchart < Hashie::Dash
77
+ include TelemetryFlows
78
+ property :tag, :required => true
79
+ property :title
80
+ property :expires_at
81
+ property :priority
82
+ property :icon
83
+ property :link
84
+ property :values, :required => true
85
+ end
86
+
60
87
  # Gauge
61
88
  class Gauge < Hashie::Dash
62
89
  include TelemetryFlows
@@ -65,6 +92,7 @@ module Telemetry
65
92
  property :expires_at
66
93
  property :priority
67
94
  property :icon
95
+ property :link
68
96
  property :value, :required => true
69
97
  property :value_color
70
98
  property :max
@@ -83,11 +111,44 @@ module Telemetry
83
111
  property :expires_at
84
112
  property :priority
85
113
  property :icon
114
+ property :link
86
115
  property :renderer
87
116
  property :series, :default => []
88
117
  property :min_scale
89
118
  property :unstack
90
119
  property :x_labels
120
+ property :label
121
+ property :label_2
122
+ property :label_3
123
+ end
124
+
125
+ # Grid
126
+ class Grid < Hashie::Dash
127
+ include TelemetryFlows
128
+ property :tag, :required => true
129
+ property :title
130
+ property :expires_at
131
+ property :priority
132
+ property :icon
133
+ property :link
134
+ property :data, :required => true
135
+ end
136
+
137
+ # Histogram
138
+ class Histogram < Hashie::Dash
139
+ include TelemetryFlows
140
+ property :tag, :required => true
141
+ property :title
142
+ property :expires_at
143
+ property :priority
144
+ property :icon
145
+ property :link
146
+ property :values, :required => true
147
+ property :colors
148
+ property :widths
149
+ property :y_label
150
+ property :x_label
151
+ property :cumulative
91
152
  end
92
153
 
93
154
  # Icon
@@ -97,10 +158,24 @@ module Telemetry
97
158
  property :expires_at
98
159
  property :priority
99
160
  property :icon
161
+ property :link
100
162
  property :tag, :required => true
101
163
  property :icons, :default => []
102
164
  end
103
165
 
166
+ # Image
167
+ class Image < Hashie::Dash
168
+ include TelemetryFlows
169
+ property :title
170
+ property :expires_at
171
+ property :priority
172
+ property :icon
173
+ property :link
174
+ property :mode
175
+ property :tag, :required => true
176
+ property :url, :required => true
177
+ end
178
+
104
179
  # iFrame
105
180
  class Iframe < Hashie::Dash
106
181
  include TelemetryFlows
@@ -108,6 +183,7 @@ module Telemetry
108
183
  property :expires_at
109
184
  property :priority
110
185
  property :icon
186
+ property :link
111
187
  property :tag, :required => true
112
188
  property :url, :required => true
113
189
  end
@@ -119,6 +195,7 @@ module Telemetry
119
195
  property :expires_at
120
196
  property :priority
121
197
  property :icon
198
+ property :link
122
199
  property :tag, :required => true
123
200
  property :messages, :default => []
124
201
  end
@@ -130,6 +207,7 @@ module Telemetry
130
207
  property :expires_at
131
208
  property :priority
132
209
  property :icon
210
+ property :link
133
211
  property :tag, :required => true
134
212
  property :map_type, :required => true
135
213
  property :points, :default => []
@@ -142,6 +220,7 @@ module Telemetry
142
220
  property :expires_at
143
221
  property :priority
144
222
  property :icon
223
+ property :link
145
224
  property :title
146
225
  property :gauges, :default => []
147
226
  end
@@ -153,10 +232,42 @@ module Telemetry
153
232
  property :expires_at
154
233
  property :priority
155
234
  property :icon
235
+ property :link
156
236
  property :title
157
237
  property :values, :default => []
158
238
  end
159
239
 
240
+ # Piechart
241
+ class Piechart < Hashie::Dash
242
+ include TelemetryFlows
243
+ property :tag, :required => true
244
+ property :title
245
+ property :expires_at
246
+ property :priority
247
+ property :icon
248
+ property :link
249
+ property :values, :required => true
250
+ property :labels
251
+ property :colors
252
+ property :renderer
253
+ end
254
+
255
+ # Scatterplot
256
+ class Scatterplot < Hashie::Dash
257
+ include TelemetryFlows
258
+ property :tag, :required => true
259
+ property :title
260
+ property :expires_at
261
+ property :priority
262
+ property :icon
263
+ property :link
264
+ property :values, :required => true
265
+ property :colors
266
+ property :x_label
267
+ property :y_label
268
+ end
269
+
270
+
160
271
  # Servers
161
272
  class Servers < Hashie::Dash
162
273
  include TelemetryFlows
@@ -165,6 +276,7 @@ module Telemetry
165
276
  property :expires_at
166
277
  property :priority
167
278
  property :icon
279
+ property :link
168
280
  property :servers, :default => []
169
281
  property :orange
170
282
  property :red
@@ -178,6 +290,7 @@ module Telemetry
178
290
  property :expires_at
179
291
  property :priority
180
292
  property :icon
293
+ property :link
181
294
  property :statuses, :default => []
182
295
  end
183
296
 
@@ -189,6 +302,7 @@ module Telemetry
189
302
  property :expires_at
190
303
  property :priority
191
304
  property :icon
305
+ property :link
192
306
  property :table, :default => []
193
307
  property :headers, :default => []
194
308
  property :colors, :default => []
@@ -202,6 +316,7 @@ module Telemetry
202
316
  property :expires_at
203
317
  property :priority
204
318
  property :icon
319
+ property :link
205
320
  property :text, :required => true
206
321
  property :alignment
207
322
  end
@@ -214,6 +329,7 @@ module Telemetry
214
329
  property :expires_at
215
330
  property :priority
216
331
  property :icon
332
+ property :link
217
333
  property :messages, :default => []
218
334
  end
219
335
 
@@ -225,6 +341,7 @@ module Telemetry
225
341
  property :expires_at
226
342
  property :priority
227
343
  property :icon
344
+ property :link
228
345
  property :values, :default => []
229
346
  property :type, :required => true
230
347
  end
@@ -237,6 +354,7 @@ module Telemetry
237
354
  property :expires_at
238
355
  property :priority
239
356
  property :icon
357
+ property :link
240
358
  property :messages, :default => []
241
359
  end
242
360
 
@@ -248,6 +366,7 @@ module Telemetry
248
366
  property :expires_at
249
367
  property :priority
250
368
  property :icon
369
+ property :link
251
370
  property :value, :required => true
252
371
  property :type, :required => true
253
372
  property :label, :required => true
@@ -264,6 +383,7 @@ module Telemetry
264
383
  property :expires_at
265
384
  property :priority
266
385
  property :icon
386
+ property :link
267
387
  property :up, :default => []
268
388
  property :down, :default => []
269
389
  property :uptime
@@ -278,6 +398,7 @@ module Telemetry
278
398
  property :expires_at
279
399
  property :priority
280
400
  property :icon
401
+ property :link
281
402
  property :value, :required => true
282
403
  property :color
283
404
  property :delta
@@ -286,4 +407,20 @@ module Telemetry
286
407
  property :sparkline
287
408
  property :label
288
409
  end
410
+
411
+ # Waterfall
412
+ class Waterfall < Hashie::Dash
413
+ include TelemetryFlows
414
+ property :tag, :required => true
415
+ property :title
416
+ property :expires_at
417
+ property :priority
418
+ property :icon
419
+ property :link
420
+ property :serial, :required => true
421
+ property :values, :required => true
422
+ property :value_type
423
+ property :spread
424
+ end
425
+
289
426
  end
@@ -1,3 +1,3 @@
1
1
  module Telemetry
2
- TELEMETRY_VERSION = "1.1.17"
2
+ TELEMETRY_VERSION = "1.1.18"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telemetry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.17
4
+ version: 1.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - W. Gersham Meharg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-22 00:00:00.000000000 Z
11
+ date: 2013-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj