Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

GrowthForecast Class for mruby

install by mrbgems

git clone git://github.com/matsumoto-r/mruby-growthforecast.git
cp -pr mruby-growthforecast ${MRUBY_ROOT}/mrbgems/g/.
echo mruby-growthforecast >> ${MRUBY_ROOT}/mrbgems/GEMS.active
cd ${MRUBY_ROOT}
make
./bin/mruby ${MRUBY_ROOT}/mrbgems/g/mruby-growthforecast/example/post-gf.rb

example

g = GrowthForecast::Client.new("127.0.0.1", 5125)

config = {
  :service  => "apache",
  :section  => "scoreboard",
  :graph    => "worker",
}

data = {
  :number   => 5,
  :color    => "#333399",
  :mode     => "count",
}

p g.post(config, data)

About

growthforecast class for mruby

Resources

Releases

No releases published

Packages

No packages published

Languages