/ruby-grafana-api

A simple Ruby wrapper for the Grafana HTTP API

Primary LanguageRubyMIT LicenseMIT

ruby-grafana-api

Gem Version

Description

A simple Ruby wrapper for the Grafana HTTP API. To include in your project, simply require the grafana library:

require 'grafana'

Comments/Notes

If you come across a bug or if you have a request for a new feature, please open an issue.

Methods & Usage Examples

Creating an instance of the grafana api client:

options = {"debug" => false, "timeout" => 3, "ssl" => false}
g = Grafana::Client.new('[GRAFANA_HOST]', [GRAFANA_PORT], '[GRAFANA_USER]', '[GRAFANA_PASS]', options)

Individual Module Documentation

License

Covered by the MIT license.