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

Instrument data plugin with ExecutionContextService #8

Draft
wants to merge 3 commits into
base: issue-101587-tracing
Choose a base branch
from

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