elastic/kibana
View on GitHub[telemetry] fetcher.validateConnectivity should wait for core ES service
Open
#171888 opened on Nov 23, 2023
Feature:TelemetryTeam:Coreenhancementgood first issue
Description
Initial discussion here: https://github.com/elastic/kibana/pull/171713#pullrequestreview-1743923611
I wonder if we'd like to leverage the ES core service status as well (prob before setting up the timer, or merged). This way, if Kibana starts when ES is not available, it doesn't need to wait 12H to trigger the next connectivity check.
The telemetry connection check
requires to fetch the telemetry config SO from the SO index. Therefore, the observable chain should ideally depend on the core ES service's status to only fetch when ES is up (and to try as soon as ES is up)