Skip to content

thelastpickle/grafonnet-polystat-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polystat panel plugin extension for grafonnet

A library that extends grafonnet with Polytstat panel plugin template (By Grafana Labs).

Based on version 1.1.0 of Polystat panel.

Getting started

Prerequisites

grafonnet and its dependencies must be installed.

Install grafonnet-polystat-panel

Clone this git repository inside the grafonnet one:

git clone https://github.com/thelastpickle/grafonnet-polystat-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/thelastpickle/grafonnet-polystat-panel",
        }
      },
      "version": "master"
    }
  ],
  "legacyImports": true
}

Then import the plugins with grafonnet in your jsonnet code:

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

Example of usage

See tests for example.

Contributing

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

Releases

No releases published

Packages

No packages published