From f198bbde93c98f8b7a711942abfbc644759b6180 Mon Sep 17 00:00:00 2001 From: Tobias Stahn <98824344+stahntobias@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:12:06 +0200 Subject: [PATCH] fix(mariadb): exporter user access (#41) --- databases/mariadb.libsonnet | 1 + 1 file changed, 1 insertion(+) diff --git a/databases/mariadb.libsonnet b/databases/mariadb.libsonnet index a4c4806..f7a8991 100644 --- a/databases/mariadb.libsonnet +++ b/databases/mariadb.libsonnet @@ -109,6 +109,7 @@ local p = import 'github.com/jsonnet-libs/kube-prometheus-libsonnet/0.10/main.li container.new(name='exporter', image=cfg.exporterImage) + container.withArgs([ '--mysqld.username=exporter', + '--mysqld.address=127.0.0.1:3306', '--collect.info_schema.innodb_metrics', '--collect.info_schema.innodb_tablespaces', '--collect.info_schema.innodb_cmp',