telemetry 1.4.7 → 1.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telemetry/api.rb +5 -0
- data/lib/telemetry/flows.rb +35 -1
- data/lib/telemetry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e11e46fe975539211c5085c9434d395b146648
|
4
|
+
data.tar.gz: 739e73de37e94da1848cc63c9fc4032450e22c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d01900ab6749507fb692dc2d7a2f11d1fb94028452832908fac8b5d36d413234995b11584920b5d8110f6d12e5c2ac10bfed6c763d1e4c8115f75851c455b215
|
7
|
+
data.tar.gz: 6587bcd442b05350a7f88ed8961baa68b2cb59cea6a3f89314fb3510c0254ad1cc6319da4f867f718652c44a5cac1f2e6766b657cbdea26543d52668208badd7
|
data/lib/telemetry/api.rb
CHANGED
@@ -89,6 +89,11 @@ module Telemetry
|
|
89
89
|
Telemetry::Api.send(:delete, "/flows/#{id}/data")
|
90
90
|
end
|
91
91
|
|
92
|
+
def self.notification(id, body)
|
93
|
+
path = "/channels/#{id}/notifications"
|
94
|
+
Telemetry::Api.send(:post, path, body)
|
95
|
+
end
|
96
|
+
|
92
97
|
def self.aggregate(bucket, value)
|
93
98
|
raise Telemetry::AuthenticationFailed, "Please set your Telemetry.token" unless Telemetry.token
|
94
99
|
return Telemetry::Api.send(:post, "/aggregations/#{bucket}", {:value => value})
|
data/lib/telemetry/flows.rb
CHANGED
@@ -27,6 +27,7 @@ module Telemetry
|
|
27
27
|
include TelemetryFlows
|
28
28
|
property :tag, :required => true
|
29
29
|
property :title
|
30
|
+
property :opacity
|
30
31
|
property :expires_at
|
31
32
|
property :priority
|
32
33
|
property :icon
|
@@ -39,6 +40,7 @@ module Telemetry
|
|
39
40
|
include TelemetryFlows
|
40
41
|
property :tag, :required => true
|
41
42
|
property :title
|
43
|
+
property :opacity
|
42
44
|
property :expires_at
|
43
45
|
property :priority
|
44
46
|
property :icon
|
@@ -51,6 +53,7 @@ module Telemetry
|
|
51
53
|
include TelemetryFlows
|
52
54
|
property :tag, :required => true
|
53
55
|
property :title
|
56
|
+
property :opacity
|
54
57
|
property :expires_at
|
55
58
|
property :priority
|
56
59
|
property :icon
|
@@ -64,6 +67,7 @@ module Telemetry
|
|
64
67
|
include TelemetryFlows
|
65
68
|
property :tag, :required => true
|
66
69
|
property :title
|
70
|
+
property :opacity
|
67
71
|
property :expires_at
|
68
72
|
property :priority
|
69
73
|
property :icon
|
@@ -76,6 +80,7 @@ module Telemetry
|
|
76
80
|
include TelemetryFlows
|
77
81
|
property :tag, :required => true
|
78
82
|
property :title
|
83
|
+
property :opacity
|
79
84
|
property :expires_at
|
80
85
|
property :priority
|
81
86
|
property :icon
|
@@ -88,6 +93,7 @@ module Telemetry
|
|
88
93
|
include TelemetryFlows
|
89
94
|
property :tag, :required => true
|
90
95
|
property :title
|
96
|
+
property :opacity
|
91
97
|
property :expires_at
|
92
98
|
property :priority
|
93
99
|
property :icon
|
@@ -108,6 +114,7 @@ module Telemetry
|
|
108
114
|
include TelemetryFlows
|
109
115
|
property :tag, :required => true
|
110
116
|
property :title
|
117
|
+
property :opacity
|
111
118
|
property :expires_at
|
112
119
|
property :priority
|
113
120
|
property :icon
|
@@ -131,6 +138,7 @@ module Telemetry
|
|
131
138
|
include TelemetryFlows
|
132
139
|
property :tag, :required => true
|
133
140
|
property :title
|
141
|
+
property :opacity
|
134
142
|
property :expires_at
|
135
143
|
property :priority
|
136
144
|
property :icon
|
@@ -143,6 +151,7 @@ module Telemetry
|
|
143
151
|
include TelemetryFlows
|
144
152
|
property :tag, :required => true
|
145
153
|
property :title
|
154
|
+
property :opacity
|
146
155
|
property :expires_at
|
147
156
|
property :priority
|
148
157
|
property :icon
|
@@ -159,6 +168,7 @@ module Telemetry
|
|
159
168
|
class Icon < Hashie::Dash
|
160
169
|
include TelemetryFlows
|
161
170
|
property :title
|
171
|
+
property :opacity
|
162
172
|
property :expires_at
|
163
173
|
property :priority
|
164
174
|
property :icon
|
@@ -171,6 +181,7 @@ module Telemetry
|
|
171
181
|
class Image < Hashie::Dash
|
172
182
|
include TelemetryFlows
|
173
183
|
property :title
|
184
|
+
property :opacity
|
174
185
|
property :expires_at
|
175
186
|
property :priority
|
176
187
|
property :icon
|
@@ -184,6 +195,7 @@ module Telemetry
|
|
184
195
|
class Iframe < Hashie::Dash
|
185
196
|
include TelemetryFlows
|
186
197
|
property :title
|
198
|
+
property :opacity
|
187
199
|
property :expires_at
|
188
200
|
property :priority
|
189
201
|
property :icon
|
@@ -196,6 +208,7 @@ module Telemetry
|
|
196
208
|
class Log < Hashie::Dash
|
197
209
|
include TelemetryFlows
|
198
210
|
property :title
|
211
|
+
property :opacity
|
199
212
|
property :expires_at
|
200
213
|
property :priority
|
201
214
|
property :icon
|
@@ -208,6 +221,7 @@ module Telemetry
|
|
208
221
|
class Map < Hashie::Dash
|
209
222
|
include TelemetryFlows
|
210
223
|
property :title
|
224
|
+
property :opacity
|
211
225
|
property :expires_at
|
212
226
|
property :priority
|
213
227
|
property :icon
|
@@ -231,6 +245,7 @@ module Telemetry
|
|
231
245
|
property :gauge_color
|
232
246
|
property :link
|
233
247
|
property :title
|
248
|
+
property :opacity
|
234
249
|
property :layout
|
235
250
|
property :gauges, :default => []
|
236
251
|
end
|
@@ -244,6 +259,7 @@ module Telemetry
|
|
244
259
|
property :icon
|
245
260
|
property :link
|
246
261
|
property :title
|
262
|
+
property :opacity
|
247
263
|
property :values, :default => []
|
248
264
|
end
|
249
265
|
|
@@ -252,6 +268,7 @@ module Telemetry
|
|
252
268
|
include TelemetryFlows
|
253
269
|
property :tag, :required => true
|
254
270
|
property :title
|
271
|
+
property :opacity
|
255
272
|
property :expires_at
|
256
273
|
property :priority
|
257
274
|
property :icon
|
@@ -267,6 +284,7 @@ module Telemetry
|
|
267
284
|
include TelemetryFlows
|
268
285
|
property :tag, :required => true
|
269
286
|
property :title
|
287
|
+
property :opacity
|
270
288
|
property :expires_at
|
271
289
|
property :priority
|
272
290
|
property :icon
|
@@ -283,6 +301,7 @@ module Telemetry
|
|
283
301
|
include TelemetryFlows
|
284
302
|
property :tag, :required => true
|
285
303
|
property :title
|
304
|
+
property :opacity
|
286
305
|
property :expires_at
|
287
306
|
property :priority
|
288
307
|
property :icon
|
@@ -297,6 +316,7 @@ module Telemetry
|
|
297
316
|
include TelemetryFlows
|
298
317
|
property :tag, :required => true
|
299
318
|
property :title
|
319
|
+
property :opacity
|
300
320
|
property :expires_at
|
301
321
|
property :priority
|
302
322
|
property :icon
|
@@ -309,6 +329,7 @@ module Telemetry
|
|
309
329
|
include TelemetryFlows
|
310
330
|
property :tag, :required => true
|
311
331
|
property :title
|
332
|
+
property :opacity
|
312
333
|
property :expires_at
|
313
334
|
property :priority
|
314
335
|
property :icon
|
@@ -325,6 +346,7 @@ module Telemetry
|
|
325
346
|
include TelemetryFlows
|
326
347
|
property :tag, :required => true
|
327
348
|
property :title
|
349
|
+
property :opacity
|
328
350
|
property :expires_at
|
329
351
|
property :priority
|
330
352
|
property :icon
|
@@ -338,6 +360,7 @@ module Telemetry
|
|
338
360
|
include TelemetryFlows
|
339
361
|
property :tag, :required => true
|
340
362
|
property :title
|
363
|
+
property :opacity
|
341
364
|
property :expires_at
|
342
365
|
property :priority
|
343
366
|
property :icon
|
@@ -350,6 +373,7 @@ module Telemetry
|
|
350
373
|
include TelemetryFlows
|
351
374
|
property :tag, :required => true
|
352
375
|
property :title
|
376
|
+
property :opacity
|
353
377
|
property :expires_at
|
354
378
|
property :priority
|
355
379
|
property :icon
|
@@ -363,6 +387,7 @@ module Telemetry
|
|
363
387
|
include TelemetryFlows
|
364
388
|
property :tag, :required => true
|
365
389
|
property :title
|
390
|
+
property :opacity
|
366
391
|
property :expires_at
|
367
392
|
property :priority
|
368
393
|
property :icon
|
@@ -375,6 +400,7 @@ module Telemetry
|
|
375
400
|
include TelemetryFlows
|
376
401
|
property :tag, :required => true
|
377
402
|
property :title
|
403
|
+
property :opacity
|
378
404
|
property :expires_at
|
379
405
|
property :priority
|
380
406
|
property :baseline
|
@@ -390,6 +416,7 @@ module Telemetry
|
|
390
416
|
include TelemetryFlows
|
391
417
|
property :tag, :required => true
|
392
418
|
property :title
|
419
|
+
property :opacity
|
393
420
|
property :expires_at
|
394
421
|
property :priority
|
395
422
|
property :icon
|
@@ -405,12 +432,17 @@ module Telemetry
|
|
405
432
|
include TelemetryFlows
|
406
433
|
property :tag, :required => true
|
407
434
|
property :title
|
435
|
+
property :opacity
|
408
436
|
property :expires_at
|
409
437
|
property :priority
|
410
438
|
property :icon
|
411
439
|
property :link
|
412
440
|
property :mode
|
413
|
-
|
441
|
+
property :mp4
|
442
|
+
property :muted
|
443
|
+
property :ogg
|
444
|
+
property :poster
|
445
|
+
property :webm
|
414
446
|
end
|
415
447
|
|
416
448
|
# Value
|
@@ -418,6 +450,7 @@ module Telemetry
|
|
418
450
|
include TelemetryFlows
|
419
451
|
property :tag, :required => true
|
420
452
|
property :title
|
453
|
+
property :opacity
|
421
454
|
property :expires_at
|
422
455
|
property :priority
|
423
456
|
property :icon
|
@@ -439,6 +472,7 @@ module Telemetry
|
|
439
472
|
include TelemetryFlows
|
440
473
|
property :tag, :required => true
|
441
474
|
property :title
|
475
|
+
property :opacity
|
442
476
|
property :expires_at
|
443
477
|
property :priority
|
444
478
|
property :icon
|
data/lib/telemetry/version.rb
CHANGED
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.4.
|
4
|
+
version: 1.4.8
|
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: 2014-
|
11
|
+
date: 2014-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|