mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-02-17 11:07:15 +00:00
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:
parent
aa38fa6ba6
commit
c95fd0d482
5
postgres_mixin/config.libsonnet
Normal file
5
postgres_mixin/config.libsonnet
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
_config+:: {
|
||||||
|
postgresExporterSelector: '',
|
||||||
|
},
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
(import 'alerts/alerts.libsonnet') +
|
(import 'alerts/alerts.libsonnet') +
|
||||||
(import 'dashboards/dashboards.libsonnet')
|
(import 'dashboards/dashboards.libsonnet') +
|
||||||
|
(import 'config.libsonnet')
|
||||||
|
Loading…
Reference in New Issue
Block a user