-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] collect number of visualization saved in the past 7, 30 and 90 days #67865
[Telemetry] collect number of visualization saved in the past 7, 30 and 90 days #67865
Conversation
4c4da4e
to
a617066
Compare
a1cce3b
to
3d98ded
Compare
@elasticmachine merge upstream |
Pinging @elastic/kibana-app (Team:KibanaApp) |
@stratoula I added the Kibana telemetry team as reviewers. |
Thank you @TinaHeiligers! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I simply added some minor NITs in case you want to consider them! Great work! :)
x-pack/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.ts
Show resolved
Hide resolved
eeba6ec
to
dfc0915
Compare
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works as expected, LGTM
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…nd 90 days (elastic#67865) * Update telemetry for visualizations to also count the vis from the past 30 and 90 days * Also add metrics for the saved visualizations for the past 7 days Co-authored-by: Elastic Machine <[email protected]>
* master: [ML] DFAnalytics results: ensure ml result fields are shown in data grid (elastic#68305) [security_solution] enable react-hooks/exhaustive-deps (elastic#68470) Closes elastic#66867 by adding missing, requried API params (elastic#68465) [Telemetry] collect number of visualization saved in the past 7, 30 and 90 days (elastic#67865) [Logs UI] View in context tweaks (elastic#67777) Kibana developer examples landing page (elastic#67049) Bump decompress package version (elastic#68386) fix elastic#66185 (elastic#66186) Bump pdfmake package version (elastic#68395) Unskip embeddables/adding_children suite (elastic#68111) Add embed mode options in the Share UI (elastic#58435) Adding key to avoid react warning (elastic#68491)
…nd 90 days (#67865) (#68520) * Update telemetry for visualizations to also count the vis from the past 30 and 90 days * Also add metrics for the saved visualizations for the past 7 days Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
tested on BC2- 7.9.0 - works great. |
Summary
Fixes #57847
We want to also add to each visualization stats the number of visualizations saved the last 30 and the last 90 days.
Right now we collect the stats with the following format:
"visualization_types": { "input_control_vis": { "total": 3, "spaces_min": 3, "spaces_max": 3, "spaces_avg": 3 }, "area": { "total": 4, "spaces_min": 4, "spaces_max": 4, "spaces_avg": 4 },
and with this change is going to also collect the number of visualizations for the past 30 and 90 days:
"visualization_types": { "input_control_vis": { "total": 3, "spaces_min": 3, "spaces_max": 3, "spaces_avg": 3, "saved_30_days_total": 2, "saved_90_days_total": 3, }, "area": { "total": 4, "spaces_min": 4, "spaces_max": 4, "spaces_avg": 4, "saved_30_days_total": 2, "saved_90_days_total": 4, },
How to test it:
Go to Dev Tools and remove all the tasks
POST /.kibana_task_manager/_delete_by_query { "query": { "match_all": {} } }
Make a change to a server file in kibana (add an empty space for example)
Go to Management-->Advanced Setting->Telemetry-->See an example of what we collect
Check the visualization types field, it should contain the new values.
Checklist