No commit activity in last 3 years
No release in over 3 years
Ruboty plugin for growthforecast
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8
~> 10.0

Runtime

 Project Readme

Ruboty::Growthforecast

A Ruboty plugin to show GrowthForecast value.

> ruboty gf show service/member/register
1000
> ruboty gf show service/member/register 今日のユーザ登録数は<%= number %>人です。 前回より <%= delta %>人増加しています。
今日のユーザ登録数は100人です。 前回より 10人増加しています。

Installation

Add this line to your application's Gemfile:

gem 'ruboty-growthforecast'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-growthforecast

Usage

ruboty gf show <service_name>/<section_name>/<graph_name> [format]

format is specified by ERB.

Configure

You could set these environment variables

  • GROWTHFORECAST_HOST: host for GrowthForecast
  • GROWTHFORECAST_PORT: post for GrowthForecast(default: 80)
  • GROWTHFORECAST_USERNAME: username for basic authentication
  • GROWTHFORECAST_PASSWORD: password for basic authentication

Author

@mzp