Skip to content

Commit

Permalink
fix(mariadb): exporter user access (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
stahntobias authored Oct 25, 2024
1 parent d97561b commit f198bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions databases/mariadb.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f198bbd

Please sign in to comment.