Mackerel client implemented by Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
spec
.gitignore
.rspec
.travis.yml
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
RELEASE.md
Rakefile
VERSION
mackerel-client.gemspec

README.md

mackerel-client Build Status Gem Version

mackerel-client is a ruby library to access Mackerel (https://mackerel.io/).

Usage

require 'mackerel/client'

@mackerel = Mackerel::Client.new(:mackerel_api_key => "<Put your API key>")
host = @mackerel.get_host("<hostId>")

Installation

Add this line to your application's Gemfile:

gem 'mackerel-client'

And then execute:

bundle

Or install it yourself as:

gem install mackerel-client