Giter Club home page Giter Club logo

buuurst_dev_rb's Introduction

BuuurstDev

Installation

Add this line to your application's Gemfile:

gem 'buuurst_dev', github: 'drecom/buuurst_dev_rb' , tag: 'v0.1.4'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install specific_install
$ gem specific_install -l https://github.com/drecom/buuurst_dev_rb.git -b v0.1.4 # use specific_install

Usage

Write bellow code in config/application.rb ( or config/environments/{RAILS_ENV}.rb ).

require "buuurst_dev/collector"

config.middleware.insert_before(0, BuuurstDev::Collector)

Configuration

Create initializer file at config/initializer/buuurst_dev.rb and write bellow code.

BuuurstDev.configure do |config|
    config.enable = true
    config.project_id = 1
    config.service_key = 'servicekey'
    config.put_log_url = 'http://localtesturl.local/put-request-log'
    config.custom_header = %w[Content-Type]
    config.ignore_paths = %w[/health]
end
  • enable
    • used for switching enabled/disabled of this gem
  • project_id
    • used for identifying loadtest target app
  • service_key
  • put_log_url (optional)
    • used for changing put log destination url
  • cunstom_header (optional)
    • used for logging header contents
  • ignore_paths (optional)
    • ignore sending request log when request path is in ignore_paths

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/drecom/buuurst_dev_rb.

License

The gem is available as open source under the terms of the MIT License.

buuurst_dev_rb's People

Contributors

kiichi-koyasu avatar m-e-n-d avatar sasa-d-soni avatar tsunenoriohara avatar

Watchers

James Cloos avatar ohr486 avatar  avatar hiracy SRE avatar  avatar  avatar  avatar  avatar

Forkers

drecom-hata

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.