Skip to content

Commit f198bbd

Browse files
authored
fix(mariadb): exporter user access (#41)
1 parent d97561b commit f198bbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

databases/mariadb.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ local p = import 'github.com/jsonnet-libs/kube-prometheus-libsonnet/0.10/main.li
109109
container.new(name='exporter', image=cfg.exporterImage)
110110
+ container.withArgs([
111111
'--mysqld.username=exporter',
112+
'--mysqld.address=127.0.0.1:3306',
112113
'--collect.info_schema.innodb_metrics',
113114
'--collect.info_schema.innodb_tablespaces',
114115
'--collect.info_schema.innodb_cmp',

0 commit comments

Comments
 (0)