Mysqld_exporter to connect to the DB using exporter user with mTLS and not plain-text password


I need to convert the mysqld_exporter to connect to the DB using exporter user with mTLS but I do not see any available options in the web-config.yml to pass the certs location to authenticate with the exporter user subject string and create a connection. Has anyone achieved the same using the latest version of Pecona mysqld_exporter ?

Steps to Reproduce:

[Step-by-step instructions on how to reproduce the issue, including any specific settings or configurations]


[Insert the version number of the software]


[If applicable, include any relevant log files or error messages]

Expected Result:

[What the user expected to see or happen before the issue occurred]

Actual Result:

[What actually happened when the user encountered the issue]

Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

Hi, I haven’t tested this myself but here is an example of the format you should be using:

Let me know how that goes