Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.4 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.4 KB

Status panel extension for grafonnet

A library that extends grafonnet with Status panel (by Vonage) plugin template.

Based on version 1.0.6 of Status panel.

Getting started

Prerequisites

grafonnet and its dependencies must be installed.

Install grafonnet-status-panel

Clone this git repository inside the grafonnet one:

git clone https://github.com/DifferentialOrange/grafonnet-status-panel.git

You can use Jsonnet Bundler instead:

{
  "dependencies": [
    {
      "source": {
        "git": {
          "remote": "https://github.com/grafana/grafonnet-lib",
          "subdir": "grafonnet"
        }
      },
      "version": "master"
    },
    {
      "source": {
        "git": {
          "remote": "https://github.com/DifferentialOrange/grafonnet-status-panel",
        }
      },
      "version": "master"
    }
  ],
  "legacyImports": true
}

Then import the plugins with grafonnet in your jsonnet code:

local grafana = (import 'grafonnet/grafana.libsonnet')
              + (import 'grafonnet-status-panel/plugin.libsonnet');

Examples of usage

See tests for examples.

Contributing

Feel free to submit issues, as well as pull requests.