Skip to content

Elixir modules for accessing the Grafana API and retrieving Grafana visualizations

License

Notifications You must be signed in to change notification settings

BoringButGreat/grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana

Elixir tools for accessing the Grafana API (see http://docs.grafana.org/http_api/).

Installation

  1. Add grafana to your list of dependencies in mix.exs:

    def deps do
      [{:grafana, "~> 0.1.7"}]
    end
  2. Ensure grafana is started before your application:

    def application do
      [applications: [:grafana]]
    end
  3. Configure the environment variables in your config files:

    config :grafana,
      api_host: "<your grafana server url>",
      api_key: "Bearer <your key>"

Mocked mode for simulating API calls in your application's test scripts

config :grafana, api_host: "test"

About

Elixir modules for accessing the Grafana API and retrieving Grafana visualizations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages