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-10974 Fallback to PGSS in case of not available PGSM. #2827

Merged
merged 16 commits into from
Feb 26, 2024

Conversation

JiriCtvrtka
Copy link
Contributor

New PR for #2823 with new ticket number.

PMM-10974

@JiriCtvrtka
Copy link
Contributor Author

JiriCtvrtka commented Feb 15, 2024

New PR opened under new number, but same like previous one: #2823

Please reapprove it.

@JiriCtvrtka JiriCtvrtka requested review from ademidoff, BupycHuk, artemgavrilov and idoqo and removed request for artemgavrilov February 15, 2024 11:28
@JiriCtvrtka JiriCtvrtka changed the title PMM-12872 Fallback to PGSS in case of not available PGSM. PMM-10974 Fallback to PGSS in case of not available PGSM. Feb 15, 2024
@JiriCtvrtka JiriCtvrtka marked this pull request as ready for review February 15, 2024 11:28
@JiriCtvrtka JiriCtvrtka requested a review from a team as a code owner February 15, 2024 11:28
Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Attention: Patch coverage is 21.05263% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 42.23%. Comparing base (d2227cd) to head (8d124c2).
Report is 1 commits behind head on main.

Files Patch % Lines
managed/services/management/postgresql.go 0.00% 10 Missing ⚠️
agent/serviceinfobroker/service_info_broker.go 57.14% 2 Missing and 1 partial ⚠️
admin/commands/management/add_postgresql.go 0.00% 1 Missing ⚠️
managed/services/agents/service_info_broker.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2827      +/-   ##
==========================================
- Coverage   42.23%   42.23%   -0.01%     
==========================================
  Files         396      396              
  Lines       50104    50120      +16     
==========================================
+ Hits        21162    21168       +6     
- Misses      26940    26950      +10     
  Partials     2002     2002              
Flag Coverage Δ
admin 11.60% <0.00%> (-0.01%) ⬇️
agent 53.20% <57.14%> (+<0.01%) ⬆️
managed 42.78% <0.00%> (-0.01%) ⬇️
vmproxy 68.57% <ø> (ø)

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.

@JiriCtvrtka JiriCtvrtka merged commit f8d5049 into main Feb 26, 2024
33 checks passed
@JiriCtvrtka JiriCtvrtka deleted the PMM-10974-PGSM-switch branch February 26, 2024 11:11
JiriCtvrtka added a commit that referenced this pull request Feb 26, 2024
* PMM-12872 Fallback to PGSS in case of not available PGSM.

* PMM-12872 Lint.

* PMM-12872 Lint.

* PMM-12872 Add test for PostgreSQLOptions.

* PMM-12872 Small change in if.

* Update api/agentpb/agent.proto

Co-authored-by: Alex Demidoff <[email protected]>

* Update managed/services/management/postgresql.go

Co-authored-by: Alex Demidoff <[email protected]>

* PMM-12872 Remove nil check in if.

* PMM-12872 Gen.

* PMM-10974 Warning message on pmm-admin side.

* PMM-10974 Change warning message.

---------

Co-authored-by: Alex Demidoff <[email protected]>
BupycHuk pushed a commit that referenced this pull request Feb 26, 2024
)

* PMM-12872 Fallback to PGSS in case of not available PGSM.

* PMM-12872 Lint.

* PMM-12872 Lint.

* PMM-12872 Add test for PostgreSQLOptions.

* PMM-12872 Small change in if.

* Update api/agentpb/agent.proto



* Update managed/services/management/postgresql.go



* PMM-12872 Remove nil check in if.

* PMM-12872 Gen.

* PMM-10974 Warning message on pmm-admin side.

* PMM-10974 Change warning message.

---------

Co-authored-by: Alex Demidoff <[email protected]>
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.

3 participants