Add Grafana plugins install option

Fixes #67
This commit is contained in:
Carlos de Paula 2020-06-23 17:24:33 -03:00
parent ad1d165158
commit 6b0b8c780a
2 changed files with 5 additions and 1 deletions

View File

@ -58,6 +58,7 @@ local vars = import 'vars.jsonnet';
}, },
}, },
}, },
plugins: vars.grafana.plugins,
}, },
}, },
//--------------------------------------- //---------------------------------------

View File

@ -73,8 +73,11 @@
scrapeInterval: '30s', scrapeInterval: '30s',
scrapeTimeout: '30s', scrapeTimeout: '30s',
}, },
// Grafana "from" email
grafana: { grafana: {
// Grafana "from" email
from_address: 'myemail@gmail.com', from_address: 'myemail@gmail.com',
// Plugins to be installed at runtime.
//Ex. plugins: ['grafana-piechart-panel', 'grafana-clock-panel'],
plugins: [],
}, },
} }