-
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] Use lastReported
timestamp on the 'browser' as well
#87846
Comments
Pinging @elastic/kibana-core (Team:Core) |
I think it is OK to send multiple reports:
The drawback is that we are sending multiple reports which means increased redundancy on our cluster. But I think we've been handling that fairly well so far. |
I agree with the benefits of multiple reports. I just want to weight in the cons as well:
Can we do anything to achieve similar benefits to the ones listed above for multiple reports, but sending one report only? i.e.: adding a retry logic, a specific collector for those additional insights, ... What do you think? |
It is advised to nest-aggregate per cluster_uuid for almost all queries ran against our
I agree this might be an issues. I think we can use telemetry to answer this; what is the average number of users sending telemetry per day per cluster. If we find huge numbers then i think it is worth tackling this issue.
The API will return 200 regardless if we actually store the data to ES or not. I am also wondering if we have a way to tell how much data we might lose if we only send it once per day from the browser 🤔 |
It looks like, on average, we do 3 daily reports per cluster. However, I can see clusters that report 1700 per day and some others 600. |
I think we are OK with that level of redundancy. Especially since we might risk losing usage if we get rid of the reduencancy model we have. What do you think? |
I sincerely don't know... on the average level, 3 seems like a fairly small amount of redundancy. On the flip side though, 1700 or 600 seem like a lot of extra load. If the only reason to keep it is the additional insights we get, I'd say we could create collectors to provide those same insights and fix this issue. If any of the insights is not replaceable with any other collector, then I guess it's OK to close this issue and revise in the future 😇 |
At the moment, the
browser
telemetry sender stores thelastReported
timestamp on the local storage. This means that we report telemetry every 24h from each user's browser (+ the server when it applies).Should we change the browser implementation to check the
lastReported
key from the SOs instead?The text was updated successfully, but these errors were encountered: