-
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
[SLO] Fix bug with 'View events' feature to filter on group-by fields #178260
[SLO] Fix bug with 'View events' feature to filter on group-by fields #178260
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
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.
…detail page (no-data usecase)
@dominiqueclarke You probably clicked on the SLO detail page when the SLO definition was in the |
…o-bug-fix-for-view-events
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, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
alias: i18n.translate('xpack.observability.slo.sloDetails.totalFilterLabel', { | ||
defaultMessage: 'Total events', | ||
}), | ||
value: JSON.stringify(customBadFilter), |
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.
Why is the customBadFilter the value here?
## Summary This PR is a follow up to #178260, when we added the "Total events" filter we forgot to update the value's text representation of the `customTotalFilter`.
Summary
This PR fixes #178231 by adding filters for the group by values. This also fixes a bug where the Discover time picker was missing due to the incompatible data view ID.
Testing
You should see filters for each of the group bys along with disabled filters for "Good events" and "Bad events"