Watch
0
0
Fork
You've already forked hyperhive
0

egress board: join the host tables by labels, one row per group

labelsToFields and merge left a __name__ column and one row per stat on
the multi-stat table. joinByLabels gives a column per stat.
This commit is contained in:
iris 2026-11-01 13:00:47 +01:00 • committed by mara
commit ed86356928

View file

@ -798,17 +798,13 @@
],
"transformations": [
{
"kind": "labelsToFields",
"kind": "joinByLabels",
"spec": {
"id": "labelsToFields",
"options": {}
}
},
{
"kind": "merge",
"spec": {
"id": "merge",
"options": {}
"id": "joinByLabels",
"options": {
"join": ["dest"],
"value": "__name__"
}
}
},
{
@ -1038,17 +1034,13 @@
],
"transformations": [
{
"kind": "labelsToFields",
"kind": "joinByLabels",
"spec": {
"id": "labelsToFields",
"options": {}
}
},
{
"kind": "merge",
"spec": {
"id": "merge",
"options": {}
"id": "joinByLabels",
"options": {
"join": ["agent", "dest"],
"value": "__name__"
}
}
},
{
@ -1407,17 +1399,13 @@
],
"transformations": [
{
"kind": "labelsToFields",
"kind": "joinByLabels",
"spec": {
"id": "labelsToFields",
"options": {}
}
},
{
"kind": "merge",
"spec": {
"id": "merge",
"options": {}
"id": "joinByLabels",
"options": {
"join": ["agent", "dest", "port"],
"value": "__name__"
}
}
},
{