From cb1426a58bc7856998ebcec0d74b18bce2ccff89 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 15 Apr 2024 11:51:25 +0800 Subject: [PATCH] add mysqld-exporter --- prod-upgrade/prom/mysql-exporter.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/prod-upgrade/prom/mysql-exporter.yaml b/prod-upgrade/prom/mysql-exporter.yaml index a235992..1e922f3 100644 --- a/prod-upgrade/prom/mysql-exporter.yaml +++ b/prod-upgrade/prom/mysql-exporter.yaml @@ -29,9 +29,10 @@ spec: image: prom/mysqld-exporter:v0.15.1 imagePullPolicy: Always args: - - --no-collect.info_schema.innodb_cmp - - --no-collect.info_schema.innodb_cmpmem - - --no-collect.global_variables + - "--config.my-cnf /etc/my.cnf" + - "--no-collect.info_schema.innodb_cmp" + - "--no-collect.info_schema.innodb_cmpmem" + - "--no-collect.global_variables" volumeMounts: - name: config-my-cnf mountPath: /etc/my.cnf