feat: enable plugins for grafana
Build / precommit (pull_request) Successful in 4m58s

- add method to install plugins for grafana
- ensure victoriametrics-logs-datasource is installed
This commit is contained in:
2025-08-09 17:36:14 +10:00
parent ac36d9627b
commit 75629aeb5b
2 changed files with 5 additions and 0 deletions
@@ -11,6 +11,7 @@ class profiles::metrics::grafana (
String $db_pass = fqdn_rand_string(16),
Stdlib::Host $db_host = '127.0.0.1',
Stdlib::Port $db_port = 5432,
Hash $plugins = {}
) {
# set the fqdn
@@ -108,6 +109,7 @@ class profiles::metrics::grafana (
class { 'grafana':
cfg => $cfg,
ldap_cfg => $ldap_cfg,
plugins => $plugins,
}
# fix the package provided systemd service