Skip to content

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 <[email protected]>
@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.

2 participants