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

[Synthetics] Refactor cardinality test runs query #166608

Merged
merged 12 commits into from
Sep 26, 2023

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Sep 18, 2023

Summary

Refactor cardinality test runs query !!

image

Testing

Test result count should remain same after/before PR on a data

@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@shahzad31 shahzad31 added release_note:skip Skip the PR/issue when compiling release notes v8.11.0 labels Sep 18, 2023
@shahzad31 shahzad31 marked this pull request as ready for review September 18, 2023 12:46
@shahzad31 shahzad31 requested a review from a team as a code owner September 18, 2023 12:46
Copy link
Contributor

@awahab07 awahab07 left a comment

Choose a reason for hiding this comment

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

I had all my monitors disabled while on the main branch:
Main Test runs count

I switched to the PR branch and the number was slightly down:
PR Test runs count

The above may not be an issue as the count decrease is insignificant. But I've noticed that the query for both the count and series is not filtering for synthetics.type: "heartbeat/summary".

Doc count without synthetics.type: "heartbeat/summary":
Without heartbeatsummary filter

Doc count with synthetics.type: "heartbeat/summary":
Screenshot 2023-09-21 at 13 46 59

@botelastic botelastic bot added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Sep 21, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@shahzad31 shahzad31 requested a review from awahab07 September 22, 2023 08:35
Copy link
Contributor

@awahab07 awahab07 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
exploratoryView 200.9KB 200.9KB -31.0B
synthetics 860.8KB 860.8KB -11.0B
uptime 478.1KB 478.1KB -4.0B
total -46.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@shahzad31 shahzad31 merged commit 59c5eb0 into elastic:main Sep 26, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Sep 26, 2023
@shahzad31 shahzad31 added v8.10.3 and removed backport:skip This commit does not require backporting labels Sep 26, 2023
@shahzad31 shahzad31 deleted the query-permormance branch September 26, 2023 10:32
@shahzad31 shahzad31 added the auto-backport Deprecated - use backport:version if exact versions are needed label Sep 26, 2023
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.10 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 166608

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@shahzad31
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.10

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

shahzad31 added a commit to shahzad31/kibana that referenced this pull request Sep 28, 2023
shahzad31 added a commit that referenced this pull request Oct 3, 2023
…167547)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Synthetics] Refactor cardinality test runs query
(#166608)](#166608)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-09-26T10:12:24Z","message":"[Synthetics]
Refactor cardinality test runs query
(#166608)","sha":"59c5eb0988c61dfd5f589e656dc4096102eade33","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:uptime","release_note:skip","auto-backport","v8.11.0","v8.10.3"],"number":166608,"url":"https://github.com/elastic/kibana/pull/166608","mergeCommit":{"message":"[Synthetics]
Refactor cardinality test runs query
(#166608)","sha":"59c5eb0988c61dfd5f589e656dc4096102eade33"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/166608","number":166608,"mergeCommit":{"message":"[Synthetics]
Refactor cardinality test runs query
(#166608)","sha":"59c5eb0988c61dfd5f589e656dc4096102eade33"}},{"branch":"8.10","label":"v8.10.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.10.3 v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants