Skip to content

PMM-4879 Added defaults file.#863

Closed
pkadej wants to merge 17 commits into
percona:mainfrom
pkadej:PMM-4879-mysql-add-defaults-file
Closed

PMM-4879 Added defaults file.#863
pkadej wants to merge 17 commits into
percona:mainfrom
pkadej:PMM-4879-mysql-add-defaults-file

Conversation

@pkadej

@pkadej pkadej commented Apr 7, 2022

Copy link
Copy Markdown
Contributor

@it-percona-cla

it-percona-cla commented Apr 7, 2022

Copy link
Copy Markdown
Contributor

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
Comment thread api/managementpb/mysql.proto Outdated
// 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
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed.

Comment thread api/agentpb/agent.proto Outdated
string password = 3;
string host = 4;
uint32 port = 5;

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

pkadej commented Jun 9, 2022

Copy link
Copy Markdown
Contributor Author

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