Skip to content

[Meta] Migrate telemetry usage_collectors to the new ES Client #86358

@TinaHeiligers

Description

@TinaHeiligers

Support for the legacy Elasticsearch client will be removed in 7.15.

The Telemetry team (now the Core team) added support for using the new ES client in 7.11 to allow plugins that use a usage_collector to begin migrating over.

In 7.13 7.12, the legacy client will be completely removed from collectors' fetch context. In order to continue report usage data, usage collectors that make calls to elasticsearch for saving/retrieving telemetric data need to use the new elasticsearch client.

The deadline for collector migrations is 7.13 7.12 and blocks completion of the migration of the usage_collection plugin.

Collectors that need to be migrated:

collector migration status
kql_telemetry (#86585)
search
sample_data
canvas
reporting
rollup
security_solution
spaces_usage_collector
Uptime: kibana_telemetry_adapter
xpack_legacy: settings
kibana_usage_collector
TSVB validation_telemetry_service
‘vis_type_vega`
‘visualizations`

Please We need to focus on migrating the collectors as a priority to meet the 7.12 deadline.

The telemetry team migrated the telemetry-related collectors already, and have examples of how you can follow suite:

  1. cluster stats
  2. nodes usage
  3. license info

Thank you to the vis-team for already having done the work!

We ask that each team link back to this issue with an expected completion timeframe and update the status of the collector(s) in question once addressed.

We ask that each team please review the PR's linked backed to this issue so that we can update the status of the collector(s) once addressed.

Migrations required by CODEOWNERS:

kibana-core

kibana-core-ui

@elastic/kibana-core-ui

kibana-app-services

@elastic/kibana-app-services

kibana-presentation

@elastic/kibana-presentation

kibana-reporting-services

@elastic/kibana-reporting-services

es-ui

@elastic/es-ui

siem/endpoint-app-team

@elastic/endpoint-app-team

kibana-security

@elastic/kibana-security

uptime

@elastic/uptime

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:TelemetryMetaTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//v7.12.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions