pulse-meter 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -59,6 +59,14 @@ cfg = PulseMeter::Sensor::Configuration.new(
|
|
59
59
|
}
|
60
60
|
},
|
61
61
|
|
62
|
+
sensor_without_annotation: {
|
63
|
+
sensor_type:'timelined/average',
|
64
|
+
args: {
|
65
|
+
interval: 20,
|
66
|
+
ttl: 3600
|
67
|
+
}
|
68
|
+
},
|
69
|
+
|
62
70
|
cpu: {sensor_type: 'indicator'},
|
63
71
|
memory: {sensor_type: 'indicator'},
|
64
72
|
temperature: {
|
@@ -72,7 +80,7 @@ cfg = PulseMeter::Sensor::Configuration.new(
|
|
72
80
|
while true
|
73
81
|
sleep(Random.rand)
|
74
82
|
STDERR.puts "tick"
|
75
|
-
cfg.lama_count(
|
83
|
+
cfg.lama_count(100000)
|
76
84
|
cfg.rhino_count(2)
|
77
85
|
cfg.lama_average_age(Random.rand(50))
|
78
86
|
cfg.rhino_average_age(Random.rand(100))
|
data/lib/pulse-meter/version.rb
CHANGED
@@ -195,7 +195,6 @@ document.startApp = ->
|
|
195
195
|
$.extend true, super(), {
|
196
196
|
lineWidth: 1
|
197
197
|
chartArea: {
|
198
|
-
left: 40
|
199
198
|
width: '100%'
|
200
199
|
}
|
201
200
|
legend: {
|
@@ -203,6 +202,7 @@ document.startApp = ->
|
|
203
202
|
}
|
204
203
|
vAxis: {
|
205
204
|
title: @valuesTitle()
|
205
|
+
textPosition: 'in'
|
206
206
|
}
|
207
207
|
hAxis: {
|
208
208
|
format: format
|
@@ -255,14 +255,14 @@
|
|
255
255
|
return $.extend(true, SeriesPresenter.__super__.options.call(this), {
|
256
256
|
lineWidth: 1,
|
257
257
|
chartArea: {
|
258
|
-
left: 40,
|
259
258
|
width: '100%'
|
260
259
|
},
|
261
260
|
legend: {
|
262
261
|
position: 'bottom'
|
263
262
|
},
|
264
263
|
vAxis: {
|
265
|
-
title: this.valuesTitle()
|
264
|
+
title: this.valuesTitle(),
|
265
|
+
textPosition: 'in'
|
266
266
|
},
|
267
267
|
hAxis: {
|
268
268
|
format: format
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulse-meter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-08-
|
13
|
+
date: 2012-08-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gon-sinatra
|
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
475
475
|
version: '0'
|
476
476
|
segments:
|
477
477
|
- 0
|
478
|
-
hash:
|
478
|
+
hash: 3888917459545765468
|
479
479
|
requirements: []
|
480
480
|
rubyforge_project:
|
481
481
|
rubygems_version: 1.8.24
|