-
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] Enable page for metrics and traces #190043
[Dataset quality] Enable page for metrics and traces #190043
Conversation
/ci |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/ci |
/ci |
/ci |
…enable-pages-for-metrics-and-traces
424ef39
to
3f9fb63
Compare
/ci |
/ci |
/ci |
/ci |
/ci |
b4a7e37
to
1a6a1d0
Compare
1a6a1d0
to
ae42b56
Compare
…enable-pages-for-metrics-and-traces
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.
Changes LGTM 👍🏼
…s' of github.com:yngrdyn/kibana into 3454-dataset-quality-enable-pages-for-metrics-and-traces
a6de1be
to
4d346f5
Compare
11242d5
to
17fa51c
Compare
…s' of github.com:yngrdyn/kibana into 3454-dataset-quality-enable-pages-for-metrics-and-traces
…enable-pages-for-metrics-and-traces
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
…taset when no type is selected in the UI (#191895) In #190043 we enabled `GET /internal/dataset_quality/data_streams/stats` and `GET /internal/dataset_quality/data_streams/non_aggregatable` for work with multiple dataStream types, but we left out the case where in the UI no type is selected. The solution is the same we applied to [`GET /internal/dataset_quality/data_streams/stats`](https://github.com/yngrdyn/kibana/blob/b1f9e290213368e550ab692124a419683409c937/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts#L38), when no type is selected in the UI we should send all known types. ### Before https://github.com/user-attachments/assets/da83c3c2-6d6d-4401-bd12-99d6ab1da7ea ### After https://github.com/user-attachments/assets/cf17594f-d4a9-4d83-8a9a-6252e102b475
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Closes https://github.com/elastic/observability-dev/issues/3454.
This PR enables Dataset quality for being used for
traces
andmetrics
.Changes
KNOWN_TYPES
array containing the types that we allow in dataset quality page.datasets
,degradedDocs
andnonAggregatableDatasets
are now wrapped in an state. This allow us to retrigger the calls whenever we need to do it (e.g. when changing timeframe), more importantly now whenever we select a new type of dataset.invoke
degradedDocs
is created dynamically depending on the types present inKNOWN_TYPES
.GET /internal/dataset_quality/data_streams/stats
andGET /internal/dataset_quality/data_streams/non_aggregatable
now accept an array ofDataStreamType
. This allow us to query the information for multiple types of dataStreams at the same time.🎥 Demo
Screen.Recording.2024-08-20.at.14.10.15.mov