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-12252 Removing Alertmanager from advisors dependencies #1915

Merged
merged 20 commits into from
Sep 4, 2023

Conversation

artemgavrilov
Copy link
Contributor

@artemgavrilov artemgavrilov commented Mar 28, 2023

PMM-12252

Link to the Feature Build: SUBMODULES-3178

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #1915 (4fd3d62) into main (8dbe6f7) will decrease coverage by 0.10%.
Report is 3 commits behind head on main.
The diff coverage is 60.78%.

@@            Coverage Diff             @@
##             main    #1915      +/-   ##
==========================================
- Coverage   42.86%   42.77%   -0.10%     
==========================================
  Files         383      383              
  Lines       48248    48126     -122     
==========================================
- Hits        20681    20584      -97     
+ Misses      25629    25604      -25     
  Partials     1938     1938              
Flag Coverage Δ
admin 10.45% <ø> (+0.04%) ⬆️
agent 53.11% <ø> (-0.15%) ⬇️
managed 43.83% <60.78%> (-0.10%) ⬇️
vmproxy 69.69% <ø> (ø)

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

Files Changed Coverage Δ
managed/cmd/pmm-managed-starlark/main.go 0.00% <0.00%> (ø)
managed/cmd/pmm-managed/main.go 0.00% <0.00%> (ø)
managed/services/types.go 100.00% <ø> (ø)
managed/services/management/checks.go 68.05% <55.55%> (+0.34%) ⬆️
managed/services/checks/checks.go 31.73% <64.51%> (-1.82%) ⬇️
managed/services/checks/registry.go 85.24% <85.71%> (-3.25%) ⬇️

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@artemgavrilov artemgavrilov changed the title PMM-11796 positive advisor insights PMM-11796 Positive advisor insights Mar 28, 2023
@artemgavrilov artemgavrilov changed the title PMM-11796 Positive advisor insights PMM-11796 Positive Advisor insights, removing Alertmanager from advisors dependencies Mar 29, 2023
@artemgavrilov artemgavrilov changed the title PMM-11796 Positive Advisor insights, removing Alertmanager from advisors dependencies PMM-12252 Removing Alertmanager from advisors dependencies Jun 23, 2023
@artemgavrilov artemgavrilov marked this pull request as ready for review June 23, 2023 11:50
@artemgavrilov artemgavrilov requested review from a team and BupycHuk as code owners June 23, 2023 11:50
@artemgavrilov artemgavrilov requested review from ademidoff and idoqo and removed request for a team June 23, 2023 11:50
@@ -36,20 +29,13 @@ type registry struct {
rw sync.RWMutex
// Results stored grouped by interval and by check name. It allows us to remove results for specific group.
checkResults map[check.Interval]map[string][]services.CheckResult
Copy link
Member

Choose a reason for hiding this comment

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

Can we not store data in memory? We need to rewrite it for HA purposes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can, but in scope of another ticket. This one just removes AM.

managed/services/management/checks.go Outdated Show resolved Hide resolved
@artemgavrilov artemgavrilov enabled auto-merge (squash) September 4, 2023 13:48
@artemgavrilov artemgavrilov merged commit a0a5048 into main Sep 4, 2023
33 checks passed
@artemgavrilov artemgavrilov deleted the PMM-11796-positive-advisor-insights branch September 4, 2023 15:03
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