-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[telemetry] Stats api is slow on M1 chips #119477
Comments
Pinging @elastic/kibana-core (Team:Core) |
We've only noticed this with |
I've debugged the issue with @yakhinvadim and we figured out the reason this is happening: Reporting is failing to start due to The collector's Reporting stack trace
The solution I have for this is:
|
Is it a monitoring or reporting problem? the stack trace ends at kibana/x-pack/plugins/reporting/server/plugin.ts Lines 120 to 121 in 5234d1d
@Bamieh Can we detect these cases automatically to prevent degradation in the future? |
@mshustov yes reporting not motniroing** fixed my comment. Can you clarify what you have in mind when you said 'detect these cases'? every collector can have its own isReady logic. The solution I can think of at the collection level is to return |
Maybe fixing #97788 might tackle issues like this one? If the Telemetry service skips any reports if the status is degraded, we could catch this issue? Is it too drastic? |
yeah, something like that would work.
Not likely. As you can see, |
[Needs debugging]
Original issue
The stats API is slow / hangs on M1 chips
Context
I've done some debugging and this does not happen on intel chips.
I tried looking if the code is doing anything special that might change based on architecture but didn't get anywhere interesting
I do not have an M1 MacBook handy to test this so @yakhinvadim offered pairing on zoom to debug this issue
CC @seanstory @yakhinvadim
The text was updated successfully, but these errors were encountered: