Skip to content

Comments

[SearchProfiler] Minor fixes#60919

Merged
jloleysens merged 5 commits intoelastic:masterfrom
jloleysens:fix/searchprofiler/minor-fixes
Mar 24, 2020
Merged

[SearchProfiler] Minor fixes#60919
jloleysens merged 5 commits intoelastic:masterfrom
jloleysens:fix/searchprofiler/minor-fixes

Conversation

@jloleysens
Copy link
Contributor

@jloleysens jloleysens commented Mar 23, 2020

Summary

After running through the test cases the a regression was detected with the auto-expanding behaviour (shards should auto-expand up to operations that have had >= 20% of time spent in servicing the search or aggregation).

Screenshot 2020-03-23 at 16 10 04

Other fixes/improvements:

  1. Added notification for bad profile data provided ({ "profile": { "shards": [{}] } }). On master there was no notification.

Screenshot 2020-03-23 at 16 16 27

  1. Fixed the error message extraction misbehaving for certain ES errors, like when we run a profile against a closed index. Master looks like:

Screenshot 2020-03-23 at 16 27 00

After fix:

Screenshot 2020-03-23 at 16 09 52

Checklist

Delete any items that are not applicable to this PR.

@jloleysens jloleysens added v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// release_note:skip Skip the PR/issue when compiling release notes Feature:Search Profiler v7.7.0 labels Mar 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Copy link
Contributor

@alisonelizabeth alisonelizabeth 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 these bugs @jloleysens! Tested locally and everything LGTM. Left one comment about possibly removing a console statement.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@jloleysens jloleysens merged commit 6506134 into elastic:master Mar 24, 2020
@jloleysens jloleysens deleted the fix/searchprofiler/minor-fixes branch March 24, 2020 14:26
jloleysens added a commit to jloleysens/kibana that referenced this pull request Mar 24, 2020
* Fix auto-expanding of shards in profile tree

* Fix bad error message for ES errors that don't have line numbers

* Add error message for bad profile data

* Fix type and test issues and rename __test__ folder to __jest__

* ! 👉🏻.
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 24, 2020
* master:
  Updating our direct usage of https-proxy-agent to 5.0.0 (elastic#58296)
  allow users to unset the throttle of an alert (elastic#60964)
  [Lens] Fix bug in metric config panel (elastic#60982)
  [SearchProfiler] Minor fixes (elastic#60919)
  [ML] Renaming ML setup and start contracts (elastic#60980)
  introduce StartServicesAccessor type for `CoreSetup.getStartServices` (elastic#60748)
  [SIEM][Detection Engine] Add rule's notification alert type (elastic#60832)
  [APM] Re-revert "Collect telemetry about data/API performance" (elastic#61030)
  [NP] Graph: get rid of saved objects class wrapper (elastic#59917)
  [EPM] merge duplicate fields when creating index patterns (elastic#60957)
  [Uptime] Ml detection of duration anomalies (elastic#59785)
  [Alerting] removes unimplemented buttons from Alert Details page (elastic#60934)
  [skip-ci] Fix CODEOWNERS paths for the Pulse team (elastic#60944)
  [APM] Threshold alerts (elastic#59566)
  [ML] Add support for percentiles aggregation to Transform wizard (elastic#60763)
  Cahgen save object duplicate message (elastic#60901)
jloleysens added a commit that referenced this pull request Mar 24, 2020
* Fix auto-expanding of shards in profile tree

* Fix bad error message for ES errors that don't have line numbers

* Add error message for bad profile data

* Fix type and test issues and rename __test__ folder to __jest__

* ! 👉🏻.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Search Profiler release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants