Sha256: 8051f9a31322fdece4df94064edfc579b35f8d3ea27dfe80f56aa5a0a98108c1

Contents?: true

Size: 256 Bytes

Versions: 24

Compression:

Stored size: 256 Bytes

Contents

name "sample"
always_start true

collect do
  data = YAML.load_file('./tests/data/event.yml')
  data["events"].each do |e| 
    e[:metric] = eval(e[:eval]) if e.has_key? :eval
    event(e)
  end
  sleep(plugin.sleep.to_f || 0)
  exit 0 if plugin.sleep
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
kurchatov-0.2.1 tests/data/sample.rb
kurchatov-0.2.0 tests/data/sample.rb
kurchatov-0.1.8 tests/data/sample.rb
kurchatov-0.1.7 tests/data/sample.rb
kurchatov-0.1.6 tests/data/sample.rb
kurchatov-0.1.5 tests/data/sample.rb
kurchatov-0.1.4 tests/data/sample.rb
kurchatov-0.1.3 tests/data/sample.rb
kurchatov-0.1.2 tests/data/sample.rb
kurchatov-0.1.1 tests/data/sample.rb
kurchatov-0.1.0 tests/data/sample.rb
kurchatov-0.0.9 tests/data/sample.rb
kurchatov-0.0.8.pre.3 tests/data/sample.rb
kurchatov-0.0.7.pre.4 tests/data/sample.rb
kurchatov-0.0.8.pre.2 tests/data/sample.rb
kurchatov-0.0.8.pre.1 tests/data/sample.rb
kurchatov-0.0.7 tests/data/sample.rb
kurchatov-0.0.7.pre.3 tests/data/sample.rb
kurchatov-0.0.7.pre.2 tests/data/sample.rb
kurchatov-0.0.7.pre.1 tests/data/sample.rb