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

Browser retries failed telemetry requests every 60s #115221

Closed
rudolf opened this issue Oct 15, 2021 · 1 comment · Fixed by #117955
Closed

Browser retries failed telemetry requests every 60s #115221

rudolf opened this issue Oct 15, 2021 · 1 comment · Fixed by #117955
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Telemetry impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@rudolf
Copy link
Contributor

rudolf commented Oct 15, 2021

If a request to api/telemetry/v2/clusters/_stats fails the browser will retry every 60s. If for some reason the Kibana server takes long to respond causing the request to timeout, this will add a lot of load to the server as all browsers continuously retry this request.

https://github.com/elastic/kibana/blob/master/src/plugins/telemetry/public/services/telemetry_sender.ts#L86

Instead, we should use exponential back-off to reduce the frequency of retries and the load on Kibana.

@rudolf rudolf added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Oct 15, 2021
@elasticmachine
Copy link
Contributor

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

@lukeelmers lukeelmers added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Oct 29, 2021
@exalate-issue-sync exalate-issue-sync bot added loe:medium Medium Level of Effort and removed loe:small Small Level of Effort labels Nov 2, 2021
@exalate-issue-sync exalate-issue-sync bot added loe:small Small Level of Effort and removed loe:medium Medium Level of Effort labels Nov 5, 2021
@TinaHeiligers TinaHeiligers self-assigned this Nov 5, 2021
@TinaHeiligers TinaHeiligers added the bug Fixes for quality problems that affect the customer experience label Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Telemetry impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants