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

APM data shows telemetry being called ~30 times a day #123144

Closed
lizozom opened this issue Jan 17, 2022 · 4 comments
Closed

APM data shows telemetry being called ~30 times a day #123144

lizozom opened this issue Jan 17, 2022 · 4 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Telemetry Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.0 v8.0.0

Comments

@lizozom
Copy link
Contributor

lizozom commented Jan 17, 2022

We recently enabled APM on the overview-aws-eu-west-1 kibana (QA environment used to monitor all the other QA deployments).
While analyzing the data, I noticed something interesting and after talking to @Bamieh I wanted to open an issue to track this.

This cluster is running 7.16.0 (meaning #117955 is already merged into it) and it seems like it's calling the telemetry API way more often than one would expect.

The latency of each call is 10-60s and they happen once about every hour.
Some contain failures.

APM data from past 7 days
Discover telemetry call transactions
One of the errors found in the telemetry request

@lizozom lizozom added bug Fixes for quality problems that affect the customer experience Feature:Telemetry v8.0.0 v7.16.0 labels Jan 17, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 17, 2022
@lizozom lizozom added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jan 17, 2022
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 17, 2022
@afharo
Copy link
Member

afharo commented Jan 17, 2022

The repetition could be caused by #87846. And the fix will ship in 8.0.0.

In the meanwhile, I'd recommend upgrading to 7.16.2 to make use of the caching mechanism so it will save many ES requests.

After looking at the APM data, I also identified 2 potential improvements so we can reduce the amount of time it takes to generate the telemetry report:

I also added them to our Meta issue for Telemetry performance improvements #119466

@lizozom
Copy link
Contributor Author

lizozom commented Feb 1, 2022

@afharo is this issue now redundant? Should I close it?

@afharo
Copy link
Member

afharo commented Feb 1, 2022

@lizozom I was going to ask the same since we covered most of it. I'll go ahead and close it. Feel free to reopen if needed.

@afharo afharo closed this as completed Feb 1, 2022
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 Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.0 v8.0.0
Projects
None yet
Development

No branches or pull requests

3 participants