-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…4457) # Backport This will backport the following commits from `main` to `8.x`: - [[OneDiscover] Add EBT event to track field usage (#193996)](#193996) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-30T16:20:21Z","message":"[OneDiscover] Add EBT event to track field usage (#193996)\n\n- Closes https://github.com/elastic/kibana/issues/186156\r\n- Closes https://github.com/elastic/kibana/issues/189454\r\n\r\n## Summary\r\n\r\nThis PR adds new EBT event type `discover_field_usage` which we use for\r\ntracking adding and removing grid columns and adding filters via\r\n+/-/exists buttons. Properties of the added events consist of:\r\n\r\n`eventType`: `dataTableSelection`, `dataTableRemoval`, or\r\n`filterAddition`\r\n`fieldName`: name of the field if it's from ECS schema\r\n`filterOperation`: `+`, `-`, or `_exists_`\r\n\r\n\r\n<img width=\"1002\" alt=\"Screenshot 2024-09-25 at 17 51 27\"\r\nsrc=\"https://github.com/user-attachments/assets/b3f3fb69-55e1-43b2-9683-a6d8884f56fe\">\r\n\r\n## Testing\r\n\r\nEnable \"Usage collection\" global setting.\r\n\r\nNavigate to Discover and observe `kibana-browser` requests in Network\r\ntab.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"7aa64b6ed59488ab10a5136199b69de0c86668af","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor","Project:OneDiscover"],"title":"[OneDiscover] Add EBT event to track field usage","number":193996,"url":"https://github.com/elastic/kibana/pull/193996","mergeCommit":{"message":"[OneDiscover] Add EBT event to track field usage (#193996)\n\n- Closes https://github.com/elastic/kibana/issues/186156\r\n- Closes https://github.com/elastic/kibana/issues/189454\r\n\r\n## Summary\r\n\r\nThis PR adds new EBT event type `discover_field_usage` which we use for\r\ntracking adding and removing grid columns and adding filters via\r\n+/-/exists buttons. Properties of the added events consist of:\r\n\r\n`eventType`: `dataTableSelection`, `dataTableRemoval`, or\r\n`filterAddition`\r\n`fieldName`: name of the field if it's from ECS schema\r\n`filterOperation`: `+`, `-`, or `_exists_`\r\n\r\n\r\n<img width=\"1002\" alt=\"Screenshot 2024-09-25 at 17 51 27\"\r\nsrc=\"https://github.com/user-attachments/assets/b3f3fb69-55e1-43b2-9683-a6d8884f56fe\">\r\n\r\n## Testing\r\n\r\nEnable \"Usage collection\" global setting.\r\n\r\nNavigate to Discover and observe `kibana-browser` requests in Network\r\ntab.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"7aa64b6ed59488ab10a5136199b69de0c86668af"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193996","number":193996,"mergeCommit":{"message":"[OneDiscover] Add EBT event to track field usage (#193996)\n\n- Closes https://github.com/elastic/kibana/issues/186156\r\n- Closes https://github.com/elastic/kibana/issues/189454\r\n\r\n## Summary\r\n\r\nThis PR adds new EBT event type `discover_field_usage` which we use for\r\ntracking adding and removing grid columns and adding filters via\r\n+/-/exists buttons. Properties of the added events consist of:\r\n\r\n`eventType`: `dataTableSelection`, `dataTableRemoval`, or\r\n`filterAddition`\r\n`fieldName`: name of the field if it's from ECS schema\r\n`filterOperation`: `+`, `-`, or `_exists_`\r\n\r\n\r\n<img width=\"1002\" alt=\"Screenshot 2024-09-25 at 17 51 27\"\r\nsrc=\"https://github.com/user-attachments/assets/b3f3fb69-55e1-43b2-9683-a6d8884f56fe\">\r\n\r\n## Testing\r\n\r\nEnable \"Usage collection\" global setting.\r\n\r\nNavigate to Discover and observe `kibana-browser` requests in Network\r\ntab.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"7aa64b6ed59488ab10a5136199b69de0c86668af"}}]}] BACKPORT--> Co-authored-by: Julia Rechkunova <[email protected]>
- Loading branch information
1 parent
e6593a0
commit ec90e85
Showing
17 changed files
with
946 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.