add mysqld-exporter

main
ycz008 2024-04-15 11:51:25 +08:00
parent 185c19b2a2
commit cb1426a58b
1 changed files with 4 additions and 3 deletions

View File

@ -29,9 +29,10 @@ spec:
image: prom/mysqld-exporter:v0.15.1 image: prom/mysqld-exporter:v0.15.1
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- --no-collect.info_schema.innodb_cmp - "--config.my-cnf /etc/my.cnf"
- --no-collect.info_schema.innodb_cmpmem - "--no-collect.info_schema.innodb_cmp"
- --no-collect.global_variables - "--no-collect.info_schema.innodb_cmpmem"
- "--no-collect.global_variables"
volumeMounts: volumeMounts:
- name: config-my-cnf - name: config-my-cnf
mountPath: /etc/my.cnf mountPath: /etc/my.cnf