-
Notifications
You must be signed in to change notification settings - Fork 16
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
Multiple include: Fields & Metadata #1091
Multiple include: Fields & Metadata #1091
Conversation
…na/multiple-include-ui__fields
…na/multiple-include-ui__fields
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.
Looks great so far. A few things that I noticed:
- Going to the fields/labels breakdown triggers an unnecessary logsPanelQuery, just by opening the tab. It's the first query that is being executed.
Reload.mov
- The active state of filters in Log Details in inconsistent. Sometimes it shows as an active filter, other it doesnt. When clicked, it seems to remove filters but never add.
- When filtering for detected_level, applies the filter and selects the time series in Logs Volume, but it doesn't show in the top section.
- Removed the detected_level filter from log details, but it stayed in the top filters.
- It's not parsing multiple filters when coming from Explore
Explore.mov
src/Components/ServiceScene/Breakdowns/FieldValuesBreakdownScene.tsx
Outdated
Show resolved
Hide resolved
src/Components/ServiceScene/Breakdowns/FieldValuesBreakdownScene.tsx
Outdated
Show resolved
Hide resolved
src/Components/ServiceScene/Breakdowns/FieldValuesBreakdownScene.tsx
Outdated
Show resolved
Hide resolved
src/Components/ServiceScene/Breakdowns/FieldValuesBreakdownScene.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Matias Chomicki <matyax@gmail.com>
Thanks for taking a look @matyax, good catches all around.
Yeah the logs panel query is not manually executed yet, it runs on every route/variable update in main right now as well. Good catch with the logs panel filters, I'll take a look at this and the table filters as well here this morning.
#1053 Sorry just waking up, we added the or relation for positive filters in this PR lol, it's just or exclusion filters that would need UI support. That 1053 issue should be the next thing I work on and should probably go out on the same release as this PR. |
Not sure I follow. The |
I think (?) it's tech debt at this point from when we were parsing the labels/labelTypes from the log panel query, but it's possible those are still being used somewhere. I'll create an issue to convert that query runner to manually execute and we can investigate if that dataframe is still being used in the other scenes. Created #1097 to track |
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.
Fantastic 👌
Saw the !level btw, it's okay for now, and more importantly, it works. |
df09c78
into
gtk-grafana/multiple-include-ui__levels
Adding support for multiple includes in the value breakdown UI.
Parent branch: #1074