-
Notifications
You must be signed in to change notification settings - Fork 135
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
PMM-4879 Added defaults file. #863
Conversation
api/managementpb/mysql.proto
Outdated
@@ -95,6 +95,8 @@ message AddMySQLRequest { | |||
repeated string disable_collectors = 24; | |||
// Custom password for exporter endpoint /metrics. | |||
string agent_password = 28; | |||
// Path to .cnf file which contains user-name and password | |||
string defaults_file = 29; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
username is still required field, so we should make it optional and include validation logic into pmm-managed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
api/agentpb/agent.proto
Outdated
string password = 3; | ||
string host = 4; | ||
uint32 port = 5; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my.cnf might contain path to socket, so we should return it too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added.
Im going to create PR from non-forked repository. |
PMM-4879
Build: SUBMODULES-2465