Skip to content

Instrument data plugin with ExecutionContextService#8

Draft
mshustov wants to merge 3 commits intoissue-101587-tracingfrom
instrument-bsearch
Draft

Instrument data plugin with ExecutionContextService#8
mshustov wants to merge 3 commits intoissue-101587-tracingfrom
instrument-bsearch

Conversation

@mshustov
Copy link
Owner

@mshustov mshustov commented Jul 5, 2021

Summary

An example of ExecutionContextService (added in elastic#102039) integration with data plugin. Any suggestions about API improvements are welcome.

The data plugin data fetching model is a bit different from the one most plugins use. It doesn't send an HTTP request for every search operation, but batches them according to some internal rules and send them in bulk. In turn, the Kibana server parses the batch and issues a dedicated search request for every search operation. Kibana server streams Elasticsearch server response back to the browser as soon as every search operation is finished.
data_plugin_flow

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@mshustov mshustov changed the title Instrument bsearch Instrument data plugin with ExecutionContextService Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant