-
Notifications
You must be signed in to change notification settings - Fork 98
[FEATURE] Add Join and Merge transformations to Table panel #2359
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
Conversation
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Should close #2341 too |
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Adding kind: "Transform" is maybe overkill, I was thinking of the future: if we allow plugin to inject their own transformations? 🤔 |
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
c996d08
to
d490e6e
Compare
d490e6e
to
412e062
Compare
I just tested the "Merge series" transformation with RED metrics. Works great! 🚀 |
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
5e0accb
to
235db1c
Compare
0800f4e
to
ae4bd74
Compare
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
042b267
to
456bcab
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.
well done @Gladorme, cool to see this arriving in Perses !
456bcab
to
48d9dd4
Compare
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
48d9dd4
to
cd48da9
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.
Awesome let's goo🚀
Description
Add transformations to Table panel, made it common so other panels could implement it too.
BREAKING CHANGE: on Table panel, columns are not merged anymore by default. If there are multiple queries returning same labels, columns name will be indexed (#1, #2 #...)
Two transformations available for now:
Merge Columns: Merge multiple columns to 1 column
Example with "value #1" and "value #2" merged to "MERGED":
Merge series: It will merge series (join by too) all columns except "value #..."
Result:
Merge Indexed Columns: All indexed columns are merged to one column
If merge with column: "value":
Join: Regroup rows with equal cell value in a column.
If there are multiple line with same value, next row values override the current one
If join on column "instance":
Other example with join on "mount":
Result:
Then you can use column setting to rename :)
Screenshots
Merge series:
#2359
Checklist
[<catalog_entry>] <commit message>
naming convention using one of thefollowing
catalog_entry
values:FEATURE
,ENHANCEMENT
,BUGFIX
,BREAKINGCHANGE
,DOC
,IGNORE
.UI Changes
See Storybook
and e2e docs for more details. Common issues
include: