Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for single mysqld_exporter collect multiple MySQL instances #649

Closed
wants to merge 1 commit into from

Conversation

starsliao
Copy link

@starsliao starsliao commented Jul 27, 2022

Add support for single mysqld_exporter collect multiple MySQL instances

  • Example:
curl 'http://localhost:9104/probe?dsn=mysql_user1:password1@tcp(196.168.1.1:3306)/'
curl 'http://localhost:9104/probe?dsn=mysql_user2:password2@tcp(196.168.2.2:3306)/'

Signed-off-by: StarsL.cn <starsliao@gmail.com>
@starsliao starsliao changed the title 增加多mysql支持 A single mysqld_exporter supports multiple MySQL instances Jul 27, 2022
@starsliao starsliao changed the title A single mysqld_exporter supports multiple MySQL instances Add single mysqld_exporter supports multiple MySQL instances Jul 27, 2022
@starsliao starsliao changed the title Add single mysqld_exporter supports multiple MySQL instances Add support for single mysqld_exporter collect multiple MySQL instances Jul 27, 2022
@SuperQ
Copy link
Member

SuperQ commented Jul 27, 2022

Supplying credentials in the URL params is not allowed as this is a security vulnerability.

Please take a look at prometheus-community/postgres_exporter#618 as a pattern for which this can be implemented.

@starsliao starsliao closed this Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants