-
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
[Dataset quality] Open in Log explorer action #173272
[Dataset quality] Open in Log explorer action #173272
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
…m:yngrdyn/kibana into 170236-dataset-quality-add-actions-column
…m:yngrdyn/kibana into 170236-dataset-quality-add-actions-column
ddcea44
to
1bdf293
Compare
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.
Good job overall, I left some suggestions for the package and the implementation but there functionally it works.
x-pack/plugins/dataset_quality/public/components/log_explorer_link.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/dataset_quality/public/components/log_explorer_link.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/dataset_quality/public/components/log_explorer_link.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/log_explorer/public/utils/convert_discover_app_state.ts
Outdated
Show resolved
Hide resolved
…y-add-actions-column
…y-add-actions-column
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!
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
To update your PR or re-run it, just comment with: cc @yngrdyn |
…ataset name (#173603) This PR focuses on solving a couple of issues: 1. In #173087 the dataset human title was brought to the table. Even though, we still need to sort the column by the `raw` name of the dataset. #### Before https://github.com/elastic/kibana/assets/1313018/e389ea24-55fc-4854-af32-67e3693fe4bb #### After https://github.com/elastic/kibana/assets/1313018/cbb529e5-12cf-4432-be02-828c61143f17 2. In #173272 `rawName` property was added to `DataStreamStat` class so we could keep the logic of splitting the raw dataset name in just one place. We need to find the `degradedDocs` number from the raw dataset instead of the name we are keeping in the class. #### Before https://github.com/elastic/kibana/assets/1313018/e8d41966-24cd-45e8-8ab2-3de3b043e730 #### After https://github.com/elastic/kibana/assets/1313018/e9af6c9d-5081-41e5-bfb0-c88264e4b349
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Closes #170236.
Changes
This PR focuses on adding an action per dataset + namespace to navigate to Observability log explorer. At the same time I took the opportunity to update
Open in discover
link to include the controls present inObservability Log Explorer
state (atm justnamespace
)getRouterLinkProps
to a new package for reusability.Actions
column was added to table.LogExplorerLink
component was introduced, to reuse the navigation logic between the table and the flyout.getDiscoverFiltersFromState
was added to combine state filters and controls into discover state when navigating to discoverDemo
Screen.Recording.2023-12-13.at.15.49.56.mov