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-13379: Updates pmm-agent.yaml file after upgrading from v2 to v3 #3214

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

maqeel75
Copy link
Contributor

No description provided.

@maqeel75 maqeel75 requested a review from a team as a code owner September 25, 2024 08:43
@maqeel75 maqeel75 requested review from idoqo and JiriCtvrtka and removed request for a team September 25, 2024 08:43
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.59%. Comparing base (bc51e0a) to head (4ca640f).
Report is 1 commits behind head on v3.

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #3214      +/-   ##
==========================================
- Coverage   44.62%   44.59%   -0.03%     
==========================================
  Files         357      357              
  Lines       35711    35711              
==========================================
- Hits        15935    15925      -10     
- Misses      18153    18164      +11     
+ Partials     1623     1622       -1     
Flag Coverage Δ
admin 11.47% <ø> (-0.06%) ⬇️
agent 52.81% <ø> (-0.14%) ⬇️
managed 46.70% <ø> (+0.01%) ⬆️
vmproxy 66.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@idoqo idoqo changed the title [PMM-13379]: Updates pmm-agent.yaml file after update from PMM 2 to P… PMM-13379: Updates pmm-agent.yaml file after upgrading from v2 to v3 Sep 26, 2024
mv /usr/local/percona/pmm2/config/pmm-agent.yaml.bak /usr/local/percona/pmm/config/pmm-agent.yaml
mv /usr/local/percona/pmm2/config/pmm-agent.yaml.bak /usr/local/percona/pmm/config/pmm-agent.yaml.bak
cp /usr/local/percona/pmm/config/pmm-agent.yaml.bak /usr/local/percona/pmm/config/pmm-agent.yaml
sed '/^paths:/,/^[^[:space:]]/ {
Copy link
Member

Choose a reason for hiding this comment

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

Could we have a comment here to know what exactly this line does?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

mv /usr/local/percona/pmm2/config/pmm-agent.yaml.bak /usr/local/percona/pmm/config/pmm-agent.yaml
mv /usr/local/percona/pmm2/config/pmm-agent.yaml.bak /usr/local/percona/pmm/config/pmm-agent.yaml.bak
cp /usr/local/percona/pmm/config/pmm-agent.yaml.bak /usr/local/percona/pmm/config/pmm-agent.yaml
sed '/^paths:/,/^[^[:space:]]/ {
Copy link
Member

Choose a reason for hiding this comment

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

Same here: can we have a comment please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@BupycHuk BupycHuk merged commit 730ef71 into percona:v3 Sep 30, 2024
28 of 29 checks passed
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