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

Fix throughput chart on APM alert details page #156348

Merged

Conversation

maryam-saeidi
Copy link
Member

@maryam-saeidi maryam-saeidi commented May 2, 2023

Fixes #154802
Fixes #153137

Summary

Fix the Y-axis label and tooltip:

🧪 How to test

  • Create an APM Latency threshold alert
  • Go to the alert details page and check the throughput chart for the correct label and tooltip

@maryam-saeidi maryam-saeidi self-assigned this May 2, 2023
@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.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@maryam-saeidi maryam-saeidi marked this pull request as ready for review May 2, 2023 11:59
@maryam-saeidi maryam-saeidi requested a review from a team as a code owner May 2, 2023 11:59
@maryam-saeidi maryam-saeidi added release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" labels May 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@maryam-saeidi maryam-saeidi requested a review from a team May 2, 2023 12:00
@maryam-saeidi maryam-saeidi added the backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) label May 2, 2023
@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
apm 3.5MB 3.5MB -105.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 399 402 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 479 482 +3
total +5

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

cc @maryam-saeidi

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally 👌🏻

@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label May 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

Copy link
Contributor

@yngrdyn yngrdyn left a comment

Choose a reason for hiding this comment

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

LGTM

@maryam-saeidi maryam-saeidi merged commit c271cbb into elastic:main May 2, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 2, 2023
Fixes elastic#154802

## Summary

Fix the Y-axis label and tooltip:

<img
src="https://user-images.githubusercontent.com/12370520/235647500-5efb80c4-5c93-47b3-bd69-6518ae330a4b.png"
width="500" />

## 🧪 How to test
- Create an APM Latency threshold alert
- Go to the alert details page and check the throughput chart for the
correct label and tooltip

(cherry picked from commit c271cbb)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.8

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 2, 2023
# Backport

This will backport the following commits from `main` to `8.8`:
- [Fix throughput chart on APM alert details page
(#156348)](#156348)

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

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

<!--BACKPORT [{"author":{"name":"Maryam
Saeidi","email":"maryam.saeidi@elastic.co"},"sourceCommit":{"committedDate":"2023-05-02T13:52:46Z","message":"Fix
throughput chart on APM alert details page (#156348)\n\nFixes
#154802\r\n\r\n## Summary\r\n\r\nFix the Y-axis label and
tooltip:\r\n\r\n<img\r\nsrc=\"https://user-images.githubusercontent.com/12370520/235647500-5efb80c4-5c93-47b3-bd69-6518ae330a4b.png\"\r\nwidth=\"500\"
/>\r\n\r\n## 🧪 How to test\r\n- Create an APM Latency threshold
alert\r\n- Go to the alert details page and check the throughput chart
for the\r\ncorrect label and
tooltip","sha":"c271cbb739d4c8fef2eaa599e27f37ba05c0a6ee","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","Team:
Actionable
Observability","backport:prev-minor","v8.9.0"],"number":156348,"url":"https://github.com/elastic/kibana/pull/156348","mergeCommit":{"message":"Fix
throughput chart on APM alert details page (#156348)\n\nFixes
#154802\r\n\r\n## Summary\r\n\r\nFix the Y-axis label and
tooltip:\r\n\r\n<img\r\nsrc=\"https://user-images.githubusercontent.com/12370520/235647500-5efb80c4-5c93-47b3-bd69-6518ae330a4b.png\"\r\nwidth=\"500\"
/>\r\n\r\n## 🧪 How to test\r\n- Create an APM Latency threshold
alert\r\n- Go to the alert details page and check the throughput chart
for the\r\ncorrect label and
tooltip","sha":"c271cbb739d4c8fef2eaa599e27f37ba05c0a6ee"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156348","number":156348,"mergeCommit":{"message":"Fix
throughput chart on APM alert details page (#156348)\n\nFixes
#154802\r\n\r\n## Summary\r\n\r\nFix the Y-axis label and
tooltip:\r\n\r\n<img\r\nsrc=\"https://user-images.githubusercontent.com/12370520/235647500-5efb80c4-5c93-47b3-bd69-6518ae330a4b.png\"\r\nwidth=\"500\"
/>\r\n\r\n## 🧪 How to test\r\n- Create an APM Latency threshold
alert\r\n- Go to the alert details page and check the throughput chart
for the\r\ncorrect label and
tooltip","sha":"c271cbb739d4c8fef2eaa599e27f37ba05c0a6ee"}}]}]
BACKPORT-->

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
Copy link
Contributor

@kpatticha kpatticha left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@maryam-saeidi maryam-saeidi deleted the 154802-fix-throughput-chart branch May 3, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" Team:APM All issues that need APM UI Team support v8.8.0 v8.9.0
Projects
None yet
8 participants