[Telemetry] Deprecate TelemetryStart.getIsOptedIn()
in favour of an observer
#122632
Labels
Feature:Telemetry
good first issue
low hanging fruit
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
technical debt
Improvement of the software architecture and operational architecture
#122146 identified an issue with
getIsOptedIn
.The solution is OK for now, but it does not make sense to fetch the SO every time the API is called and expose potential ES connection glitches to the plugins calling this getter.
Ideally, this API should be an observer that emits whenever the value changes.
This issue is to create the new observer-based API and to deprecate the current API.
The text was updated successfully, but these errors were encountered: