telemetry 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/telemetry/daemon_config_parser.rb +24 -4
- data/lib/telemetry/flows.rb +26 -0
- data/lib/telemetry/version.rb +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: 33fb86c7efe32a88085d057ac541614925fbd799
|
4
|
+
data.tar.gz: b493294a5fc8a632d7da4c8aac698268bd7d8973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a946ddaa4b493636c144d884b6886bb5d64c0e337df9cab8641e4c27c0f0c53645d512aac14eeaf7bcc835e26e15a01864a0542b298b22f84edc51945d370b01
|
7
|
+
data.tar.gz: ade9f4a4d318c8d4f35b84ee3f3c8fe746eeb1cfcaf8ed56f3927fee820881153ced541ca40ad0748a74cb0be4543068fe33b0676ff261b3c5f3babbc57224ea
|
data/README.md
CHANGED
@@ -42,13 +42,18 @@ Supported flow object variants are as follows:
|
|
42
42
|
|
43
43
|
- Telemetry::Barchart
|
44
44
|
- Telemetry::Bulletchart
|
45
|
+
- Telemetry::Clock
|
46
|
+
- Telemetry::Compass
|
45
47
|
- Telemetry::Countdown
|
48
|
+
- Telemetry::Funnelchart
|
46
49
|
- Telemetry::Gauge
|
47
50
|
- Telemetry::Graph
|
48
51
|
- Telemetry::Grid
|
49
52
|
- Telemetry::Icon
|
53
|
+
- Telemetry::Iframe
|
50
54
|
- Telemetry::Image
|
51
55
|
- Telemetry::Log
|
56
|
+
- Telemetry::Map
|
52
57
|
- Telemetry::Multigauge
|
53
58
|
- Telemetry::Multivalue
|
54
59
|
- Telemetry::Piechart
|
@@ -62,7 +67,9 @@ Supported flow object variants are as follows:
|
|
62
67
|
- Telemetry::Timeline
|
63
68
|
- Telemetry::Upstatus
|
64
69
|
- Telemetry::Value
|
70
|
+
- Telemetry::Video
|
65
71
|
- Telemetry::Waterfall
|
72
|
+
- Telemetry::Weather
|
66
73
|
|
67
74
|
For documentation on the different properties for the various data elements please see the [data documentation](https://www.telemetryapp.com/user/documentation/data) pages.
|
68
75
|
|
@@ -73,10 +73,25 @@ module TelemetryDaemon
|
|
73
73
|
@@tasks << [ :value, tag, frequency, offset, block ]
|
74
74
|
end
|
75
75
|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
76
|
+
def box(tag, frequency = 0, offset=nil, &block)
|
77
|
+
@@tasks ||= []
|
78
|
+
@@tasks << [ :countdown, tag, frequency, offset, block ]
|
79
|
+
end
|
80
|
+
|
81
|
+
def clock(tag, frequency = 0, offset=nil, &block)
|
82
|
+
@@tasks ||= []
|
83
|
+
@@tasks << [ :countdown, tag, frequency, offset, block ]
|
84
|
+
end
|
85
|
+
|
86
|
+
def countdown(tag, frequency = 0, offset=nil, &block)
|
87
|
+
@@tasks ||= []
|
88
|
+
@@tasks << [ :countdown, tag, frequency, offset, block ]
|
89
|
+
end
|
90
|
+
|
91
|
+
def compass(tag, frequency = 0, offset=nil, &block)
|
92
|
+
@@tasks ||= []
|
93
|
+
@@tasks << [ :countdown, tag, frequency, offset, block ]
|
94
|
+
end
|
80
95
|
|
81
96
|
def custom(tag, frequency = 0, offset=nil, &block)
|
82
97
|
@@tasks ||= []
|
@@ -213,6 +228,11 @@ module TelemetryDaemon
|
|
213
228
|
@@tasks << [ :waterfall, tag, frequency, offset, block ]
|
214
229
|
end
|
215
230
|
|
231
|
+
def weather(tag, frequency = 0, offset=nil, &block)
|
232
|
+
@@tasks ||= []
|
233
|
+
@@tasks << [ :countdown, tag, frequency, offset, block ]
|
234
|
+
end
|
235
|
+
|
216
236
|
def run_scheduled_flow_updates
|
217
237
|
@@buffer = {}
|
218
238
|
@@tasks ||= {}
|
data/lib/telemetry/flows.rb
CHANGED
@@ -38,6 +38,18 @@ module Telemetry
|
|
38
38
|
property :bars, :default => []
|
39
39
|
end
|
40
40
|
|
41
|
+
# Bulletchart
|
42
|
+
class Box < Hashie::Dash
|
43
|
+
include TelemetryFlows
|
44
|
+
property :tag, :required => true
|
45
|
+
property :title
|
46
|
+
property :opacity
|
47
|
+
property :expires_at
|
48
|
+
property :priority
|
49
|
+
property :icon
|
50
|
+
property :link
|
51
|
+
end
|
52
|
+
|
41
53
|
# Bulletchart
|
42
54
|
class Bulletchart < Hashie::Dash
|
43
55
|
include TelemetryFlows
|
@@ -51,6 +63,20 @@ module Telemetry
|
|
51
63
|
property :bulletcharts, :default => []
|
52
64
|
end
|
53
65
|
|
66
|
+
# Clock
|
67
|
+
class Clock < Hashie::Dash
|
68
|
+
include TelemetryFlows
|
69
|
+
property :tag, :required => true
|
70
|
+
property :title
|
71
|
+
property :opacity
|
72
|
+
property :expires_at
|
73
|
+
property :priority
|
74
|
+
property :icon
|
75
|
+
property :link
|
76
|
+
property :style
|
77
|
+
property :timezone
|
78
|
+
end
|
79
|
+
|
54
80
|
# Countdown
|
55
81
|
class Countdown < Hashie::Dash
|
56
82
|
include TelemetryFlows
|
data/lib/telemetry/version.rb
CHANGED