A library that extends grafonnet with Status panel (by Vonage) plugin template.
Based on version 1.0.6 of Status panel.
grafonnet and its dependencies must be installed.
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');
See tests for examples.
Feel free to submit issues, as well as pull requests.