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-2852 Comments in QAN filter. #1849

Merged
merged 235 commits into from
Jun 12, 2023
Merged

Conversation

JiriCtvrtka
Copy link
Contributor

@JiriCtvrtka JiriCtvrtka commented Mar 9, 2023

PMM-2852

Link to the Feature Build: Percona-Lab/pmm-submodules#3235

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:

  • Links to related pull requests (optional).

@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Merging #1849 (3a71faa) into main (32f75ea) will increase coverage by 0.01%.
The diff coverage is 42.19%.

@@            Coverage Diff             @@
##             main    #1849      +/-   ##
==========================================
+ Coverage   42.93%   42.95%   +0.01%     
==========================================
  Files         385      386       +1     
  Lines       47708    47994     +286     
==========================================
+ Hits        20485    20616     +131     
- Misses      25328    25451     +123     
- Partials     1895     1927      +32     
Flag Coverage Δ
admin 10.43% <0.00%> (-0.08%) ⬇️
agent 52.70% <55.48%> (-0.01%) ⬇️
managed 44.23% <40.30%> (-0.01%) ⬇️
vmproxy 69.69% <ø> (ø)

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

Impacted Files Coverage Δ
.../inventory/add_agent_qan_mysql_perfschema_agent.go 0.00% <0.00%> (ø)
...nds/inventory/add_agent_qan_mysql_slowlog_agent.go 0.00% <0.00%> (ø)
...ntory/add_agent_qan_postgres_pgstatements_agent.go 0.00% <0.00%> (ø)
...tory/add_agent_qan_postgres_pgstatmonitor_agent.go 0.00% <0.00%> (ø)
admin/commands/management/add_mysql.go 24.21% <0.00%> (-1.20%) ⬇️
admin/commands/management/add_postgresql.go 0.00% <0.00%> (ø)
...nts/postgres/pgstatmonitor/pgstatmonitor_models.go 56.21% <0.00%> (-0.29%) ⬇️
agent/agents/postgres/pgstatstatements/models.go 0.00% <0.00%> (ø)
agent/agents/supervisor/supervisor.go 57.41% <0.00%> (-0.44%) ⬇️
managed/models/agent_model.go 87.72% <ø> (ø)
... and 18 more

... and 1 file with indirect coverage changes

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

agent/queryparser/helpers.go Outdated Show resolved Hide resolved
agent/queryparser/parser.go Outdated Show resolved Hide resolved
agent/queryparser/parser.go Outdated Show resolved Hide resolved
agent/queryparser/helpers.go Outdated Show resolved Hide resolved
agent/queryparser/helpers.go Outdated Show resolved Hide resolved
agent/queryparser/helpers.go Outdated Show resolved Hide resolved
@@ -363,7 +363,8 @@ func (m *PerfSchema) getNewBuckets(periodStart time.Time, periodLengthSecs uint3
if err != nil {
m.l.Infof("cannot parse comments from query: %s", *esh.SQLText)
}
b.Common.Comments = append(comments, queryTag)
comments["agent"] = "perfschema"
Copy link
Member

Choose a reason for hiding this comment

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

do we really need it?

Copy link
Member

Choose a reason for hiding this comment

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

let's remove here and in other places

@ademidoff ademidoff merged commit 60fcab0 into main Jun 12, 2023
29 of 34 checks passed
@ademidoff ademidoff deleted the PMM-2852-mysql-parsing-comments branch June 12, 2023 11:54
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.

None yet

7 participants