postgres_mixin: allow parametrization of mixin by using _config object

Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
This commit is contained in:
Paweł Krupa (paulfantom) 2022-04-10 16:23:24 +02:00
parent aa38fa6ba6
commit c95fd0d482
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
{
_config+:: {
postgresExporterSelector: '',
},
}

View File

@ -1,2 +1,3 @@
(import 'alerts/alerts.libsonnet') +
(import 'dashboards/dashboards.libsonnet')
(import 'dashboards/dashboards.libsonnet') +
(import 'config.libsonnet')