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

Allow access to ElasticsearchClient's child function from core's TS interface #126731

Merged
merged 5 commits into from
Mar 7, 2022

Conversation

mikecote
Copy link
Contributor

@mikecote mikecote commented Mar 2, 2022

In this PR, I'm making the core ElasticsearchClient TypeScript definition expose child so that the ResponseOps team can use this function properly to create an ElasticsearchClient that we can wrap/mutate the search function without mutating the globally used client. We do so to add search metrics (#125096) and automatic cancellation (#124374).

@mikecote mikecote added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.2.0 labels Mar 2, 2022
@mikecote mikecote self-assigned this Mar 2, 2022
@mikecote mikecote marked this pull request as ready for review March 3, 2022 16:29
@mikecote mikecote requested review from a team as code owners March 3, 2022 16:29
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Copy link
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

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

Nice! LGTM!

@mikecote
Copy link
Contributor Author

mikecote commented Mar 7, 2022

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

cc @mikecote

@mikecote mikecote merged commit a4febd7 into elastic:main Mar 7, 2022
@mikecote mikecote added the backport:skip This commit does not require backporting label Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.2.0
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

6 participants