-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
UI Metrics use findAll to retrieve all Saved Objects #59891
Conversation
Pinging @elastic/pulse (Team:Pulse) |
@elasticmachine merge upstream |
/cc @elastic/kibana-platform maybe they think it's a good idea to provide a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some copy-paste errors in index.test.ts
. Other than that, nice use of recursion and thanks for cleaning up the use of any
in telemetry_ui_metric_collector
!
src/legacy/core_plugins/telemetry/server/collectors/ui_metric/index.test.ts
Outdated
Show resolved
Hide resolved
Co-Authored-By: Christiane (Tina) Heiligers <[email protected]>
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* UI Metrics use findAll to retrieve all Saved Objects * Rename test description Co-Authored-By: Christiane (Tina) Heiligers <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Christiane (Tina) Heiligers <[email protected]>
* master: (45 commits) skip flaky suite (elastic#59717) UI Metrics use findAll to retrieve all Saved Objects (elastic#59891) [Discover] Migrate Context mocha tests to use Jest (elastic#59658) [Maps] Move redux reducers and store logic to NP (elastic#58294) rebalance x-pack groups (elastic#58930) [Discover] Reimplement $route.reload when index pattern changes (elastic#59877) [Upgrade Assistant Meta] Breaking changes issue template (elastic#59745) Skip CI based on changes in PR (elastic#59939) [ML] Transforms: Replace KqlFilterBar with QueryStringInput. (elastic#59723) [ML] Functional tests - stabilize date_nanos test (elastic#59986) [ML] Typescripting client side endpoint functions (elastic#59928) a11y tests on adding columns to discover table (elastic#59375) fix graph plugin config path (elastic#59540) fix vega config issues (elastic#59737) [Upgrade Assistant] Open And Close Slight Refactor (elastic#59890) [ML] Adding shared services to ml setup contract (elastic#59730) [Visualize] Fix linked search behavior (elastic#59690) [ML] Register NP ML plugin for Kibana management section. (elastic#59762) [Lens] Adds using queries/filters for field existence endpoint (elastic#59033) Delete FilterStateManager and QueryFilter :-D (elastic#59872) ...
* UI Metrics use findAll to retrieve all Saved Objects * Rename test description Co-Authored-By: Christiane (Tina) Heiligers <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Christiane (Tina) Heiligers <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Christiane (Tina) Heiligers <[email protected]>
Pinging @elastic/kibana-core (Team:Core) |
Summary
Change the UI Metrics UsageCollection fetcher to use
findAll
to paginate through all the Saved Objects stored when reporting to telemetry.Fixes #59883
Checklist
Delete any items that are not applicable to this PR.
For maintainers