Skip to content

Conversation

@tsullivan
Copy link
Member

@tsullivan tsullivan commented Mar 14, 2021

Summary

Changes to App Services APIs that make way for CSV Export using SearchSource: #88303

  • export the IScopedSearchClient type for server-side
  • create a function to load getSharingData as an async module
  • add logging in es_search_strategy to show the cause of error in the server logs

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@tsullivan tsullivan requested a review from a team March 14, 2021 20:22
@tsullivan tsullivan requested a review from a team as a code owner March 14, 2021 20:22
@tsullivan tsullivan added release_note:skip Skip the PR/issue when compiling release notes Team:AppServices v7.13.0 v8.0.0 labels Mar 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@tsullivan tsullivan changed the title App Arch API updates for CSV Export App Services API updates for CSV Export Mar 14, 2021
Copy link
Contributor

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

code LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
discover 339 340 +1

Async chunks

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

id before after diff
discover 402.0KB 409.2KB +7.2KB

Page load bundle

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

id before after diff
discover 79.6KB 79.8KB +270.0B
Unknown metric groups

async chunk count

id before after diff
discover 6 7 +1

History

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


export { SavedSearch, SavedSearchLoader, createSavedSearchesLoader } from './saved_searches';
export { ISearchEmbeddable, SEARCH_EMBEDDABLE_TYPE, SearchInput } from './application/embeddable';
export { loadSharingDataHelpers } from './shared';
Copy link
Member

Choose a reason for hiding this comment

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

This will be used server side, right? so I think loadSharingDataHelpers should live in src/plugins/discover/common

Copy link
Member Author

Choose a reason for hiding this comment

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

@tsullivan tsullivan merged commit 067543b into elastic:master Mar 16, 2021
@tsullivan tsullivan deleted the apparch/enable-csv-searchsource branch March 16, 2021 16:34
tsullivan added a commit to tsullivan/kibana that referenced this pull request Mar 16, 2021
* App Arch API updates for CSV Export

* add logging to show error cause from es

* revert logging the error in an inconsistent way
tsullivan added a commit that referenced this pull request Mar 16, 2021
* App Arch API updates for CSV Export

* add logging to show error cause from es

* revert logging the error in an inconsistent way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.13.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants