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

PMM-4879 Added defaults file. #863

Closed
wants to merge 17 commits into from

Conversation

pkadej
Copy link
Contributor

@pkadej pkadej commented Apr 7, 2022

@it-percona-cla
Copy link

it-percona-cla commented Apr 7, 2022

CLA assistant check
All committers have signed the CLA.

@pkadej pkadej marked this pull request as ready for review April 20, 2022 09:42
@pkadej pkadej requested a review from BupycHuk as a code owner April 20, 2022 09:42
@@ -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;
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed.

string password = 3;
string host = 4;
uint32 port = 5;

Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

BupycHuk
BupycHuk previously approved these changes Apr 21, 2022
ritbl
ritbl previously approved these changes May 2, 2022
@pkadej pkadej dismissed stale reviews from ritbl and BupycHuk via 3b3fa17 May 26, 2022 20:13
@pkadej
Copy link
Contributor Author

pkadej commented Jun 9, 2022

Im going to create PR from non-forked repository.

@pkadej pkadej closed this Jun 9, 2022
artemgavrilov pushed a commit that referenced this pull request Jun 17, 2022
* PMM-9125 Enable stream parse only for postgres_exporter.
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.

4 participants