Skip to content

[Exploratory View] adjust formula for synthetics monitor availability #144868

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

Conversation

dominiqueclarke
Copy link
Contributor

@dominiqueclarke dominiqueclarke commented Nov 9, 2022

Summary

Resolves #143672

Adds global summary filter to availability metric

Also fixes an error where an invalid orderBy attribute was being applied to formula columns, causing invalid aggregation errors.

Screen Shot 2022-11-07 at 10 36 07 PM

Testing

  1. Create an always down browser monitor
  2. Navigate to exploratory view
  3. Filter for that monitor
  4. Ensure that availability is marked as 0%

@dominiqueclarke dominiqueclarke changed the title adjust forumla for synthetics monitor availability [Exploratory View] adjust forumla for synthetics monitor availability Nov 9, 2022
@dominiqueclarke dominiqueclarke added bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability release_note:skip Skip the PR/issue when compiling release notes v8.6.0 v8.5.1 release_note:fix and removed release_note:skip Skip the PR/issue when compiling release notes labels Nov 9, 2022
@dominiqueclarke dominiqueclarke marked this pull request as ready for review November 9, 2022 00:08
@dominiqueclarke dominiqueclarke requested a review from a team as a code owner November 9, 2022 00:08
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #40 / Resolver test app when the user is interacting with the node with ID: secondChild when the user hovers over the primary button when the user has clicked the primary button (which selects the node.) should render as expected

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
observability 485.7KB 485.8KB +137.0B
Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 108 113 +5
securitySolution 440 446 +6
total +19

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 67 73 +6
osquery 109 115 +6
securitySolution 517 523 +6
total +20

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

@shahzad31 shahzad31 merged commit 1fdf78f into elastic:main Nov 9, 2022
@shahzad31 shahzad31 deleted the fix/exploratory-view-synthetics-availability branch November 9, 2022 09:23
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.5 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 144868

Questions ?

Please refer to the Backport tool documentation

@dominiqueclarke dominiqueclarke changed the title [Exploratory View] adjust forumla for synthetics monitor availability [Exploratory View] adjust formula for synthetics monitor availability Nov 10, 2022
@dominiqueclarke
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.5

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

Questions ?

Please refer to the Backport tool documentation

dominiqueclarke added a commit to dominiqueclarke/kibana that referenced this pull request Nov 10, 2022
…elastic#144868)

Resolves elastic#143672

(cherry picked from commit 1fdf78f)

# Conflicts:
#	x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts
dominiqueclarke added a commit that referenced this pull request Nov 10, 2022
…bility (#144868) (#145026)

# Backport

This will backport the following commits from `main` to `8.5`:
- [[Exploratory View] adjust forumla for synthetics monitor availability
(#144868)](#144868)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2022-11-09T09:23:25Z","message":"[Exploratory
View] adjust forumla for synthetics monitor availability
(#144868)\n\nResolves
https://github.com/elastic/kibana/issues/143672","sha":"1fdf78ff8ee7fbfeaeb2544a8c7c4210d956572f","branchLabelMapping":{"^v8.6.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:uptime","v8.6.0","v8.5.1"],"number":144868,"url":"https://github.com/elastic/kibana/pull/144868","mergeCommit":{"message":"[Exploratory
View] adjust forumla for synthetics monitor availability
(#144868)\n\nResolves
https://github.com/elastic/kibana/issues/143672","sha":"1fdf78ff8ee7fbfeaeb2544a8c7c4210d956572f"}},"sourceBranch":"main","suggestedTargetBranches":["8.5"],"targetPullRequestStates":[{"branch":"main","label":"v8.6.0","labelRegex":"^v8.6.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/144868","number":144868,"mergeCommit":{"message":"[Exploratory
View] adjust forumla for synthetics monitor availability
(#144868)\n\nResolves
https://github.com/elastic/kibana/issues/143672","sha":"1fdf78ff8ee7fbfeaeb2544a8c7c4210d956572f"}},{"branch":"8.5","label":"v8.5.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@mistic mistic added v8.5.2 and removed v8.5.1 labels Nov 16, 2022
@mistic
Copy link
Member

mistic commented Nov 16, 2022

Changing v8.5.1 label into v8.5.2 as this PR didn't make into the build candidate.

@philippkahr
Copy link
Contributor

@mistic if it's not in 8.5.1, we should remove it from the release notes.

https://www.elastic.co/guide/en/kibana/8.5/release-notes-8.5.1.html

Uptime
Adjust forumla for synthetics monitor availability #144868

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:fix Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.5.2 v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Exploratory View] Availability metric for KPI over type report is broken for browser monitors
7 participants