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:
parent
728e1beb6a
commit
ed86356928
1 changed files with 28 additions and 35 deletions
|
|
@ -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__"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue