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

[8.0] Enterprise Search Stack Monitoring (#114303) #120630

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 8.0:

* Added enterprise search panel, corrected queries

* Update the index pattern for Enterprise Search

* Typescript error ignore

* Our timestamp fields are called @timestamp (per ECS)

* Adjust Enterprise Search index patterns with the rest of monitoring plugin patterns (including CCS, etc)

* Initial implementation of the Enterprise Search overview panel (health only)

* Add a basic stub for enterprise search response fields

* Cleanup aggs configs

* Bring back a file deleted by mistake

* Started working on the overview page

* Correctly use heap_max as the total heap

* Ent search breadcrumbs

* Simple overview

* Allow the cluster_uuid filter to be skipped while fetching metrics

* Cleanup

* Switch to module-level uuid field and use both types of events

* Add stats-based product usage metrics + apply filter paths to reduce traffic

* Change the name of the ent search overview class

* Move the standalone cluster hack in the the internal function

* Change the overview page to show product usage metrics + introduce enterprise search stats in addition to metrics (they are fetched differently and allow us to reuse the stats code we have for the main page panel)

* Cluster UUID is at the module level now

* Simplify ent search pages structure, only have one overview page

* Fix ent search icon

* Add total instances

* Product usage metric graphs

* Simplify metrics loading in the overview page since we load all metrics anyways

* Add more enterprise search overview metrics

* Avoid duplicate labels

* linting

* Revert "Simplify metrics loading in the overview page since we load all metrics anyways"

This reverts commit 4bd67ab.

* Switch to multiple timeseries per graph

* Reorder graphs and metrics for better experience

* Typescript fixes

* i18n fixes

* Added a couple more JVM metrics

* Completely covered JVM metrics

* Convert Enterprise Search component to Typescript

* Switch config setting back

* Remove the nodes link since it raises more questions than it solves

* Update jest snapshots with the new metrics

* Remove console statement

* Properly handle cases when aggregations return no data for Enterprise Search

* Add a functional test for the Enterprise search cluster list panel

* Add a functional test for Enterprise Search overview page

* Update multicluster API response fixture with the new enterprise search response key

* Default uptime value is 0

* update overview fixture

* More fixture updates

* Remove fixmes

* Fix imports

* Properly export type

* Maybe fix the type checking error

* PR Feedback

* TS fixes

Co-authored-by: cdelgado <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Jason Stoltzfus <[email protected]>
@kibanamachine kibanamachine enabled auto-merge (squash) December 7, 2021 15:15
@kibanamachine kibanamachine merged commit a56ee61 into elastic:8.0 Dec 7, 2021
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
monitoring 438 444 +6

Async chunks

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

id before after diff
monitoring 435.7KB 444.6KB +8.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
monitoring 23.7KB 23.7KB +58.0B

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

cc @kovyrin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants