Skip to content

PMM-9875 Errors view usage.#1244

Closed
JiriCtvrtka wants to merge 2 commits intomainfrom
PMM-9875-errors-view-usage
Closed

PMM-9875 Errors view usage.#1244
JiriCtvrtka wants to merge 2 commits intomainfrom
PMM-9875-errors-view-usage

Conversation

@JiriCtvrtka
Copy link
Copy Markdown
Contributor

PMM-9875

Original PR: percona/pmm-agent#370

Build: SUBMODULES-2664

Links to other linked pull requests (optional).

@it-percona-cla
Copy link
Copy Markdown
Contributor

it-percona-cla commented Sep 21, 2022

CLA assistant check
All committers have signed the CLA.

@JiriCtvrtka JiriCtvrtka force-pushed the PMM-9875-errors-view-usage branch from ff8d677 to 9e02f1b Compare September 21, 2022 14:18
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 21, 2022

Codecov Report

Merging #1244 (3c1798a) into main (85204de) will decrease coverage by 0.06%.
The diff coverage is 10.12%.

@@            Coverage Diff             @@
##             main    #1244      +/-   ##
==========================================
- Coverage   44.05%   43.98%   -0.07%     
==========================================
  Files         334      334              
  Lines       39790    39869      +79     
==========================================
+ Hits        17529    17537       +8     
- Misses      20737    20808      +71     
  Partials     1524     1524              
Flag Coverage Δ
agent 53.53% <10.12%> (-0.36%) ⬇️

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

Impacted Files Coverage Δ
agent/agents/postgres/pgstatmonitor/models.go 0.00% <ø> (ø)
...ent/agents/postgres/pgstatmonitor/pgstatmonitor.go 12.63% <0.00%> (-1.30%) ⬇️
...ent/agents/postgres/pgstatmonitor/models_reform.go 52.59% <21.62%> (-9.80%) ⬇️

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

return buckets, nil
}

func (m *PGStatMonitorQAN) checkErrorsView(ctx context.Context) error {
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.

🚫 [golangci-lint] reported by reviewdog 🐶
calculated cyclomatic complexity for function checkErrorsView is 12, max is 10 (cyclop)

@JiriCtvrtka
Copy link
Copy Markdown
Contributor Author

Original PR: percona/pmm-agent#370

@JiriCtvrtka JiriCtvrtka marked this pull request as ready for review September 22, 2022 10:28
@ademidoff ademidoff deleted the PMM-9875-errors-view-usage branch March 28, 2023 10:32
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