-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Telemetry] Migrate to the new Elasticsearch client #74840
Labels
Feature:Telemetry
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Comments
We can split this work into
|
Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry) |
We have a few issues related to enriching usage collection APIs. I've kicked off the work in #75875 and will build on that. |
3 tasks
This was referenced Sep 30, 2020
3 tasks
Merged
3 tasks
This was referenced Nov 7, 2020
lukeelmers
added
the
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
label
Oct 1, 2021
Pinging @elastic/kibana-core (Team:Core) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature:Telemetry
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Migration guide: https://github.com/elastic/kibana/blob/master/src/core/MIGRATION_EXAMPLES.md#elasticsearch-client; breaking changes: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/breaking-changes.html
Question regarding the
callCluster
method provided to the collectors: Should we replace it with{ callCluster (with the deprecated flag), esClient (the new one), savedObjects }
?It is a breaking change, but it will also force the other plugins to adapt their logic to the new esClient if needed.
And, by providing savedObjects, collectors will have a "properly-scoped" SO client when retrieving the usage data.
The text was updated successfully, but these errors were encountered: