mirror of https://github.com/apache/druid.git
add middle manager and indexer worker category to tier column of services view (#9158)
This commit is contained in:
parent
e27a1e8604
commit
f245292e5d
|
@ -138,7 +138,8 @@ exports[`services view action services view 1`] = `
|
||||||
Object {
|
Object {
|
||||||
"Cell": [Function],
|
"Cell": [Function],
|
||||||
"Header": "Tier",
|
"Header": "Tier",
|
||||||
"accessor": "tier",
|
"accessor": [Function],
|
||||||
|
"id": "tier",
|
||||||
"show": true,
|
"show": true,
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
|
|
|
@ -348,7 +348,10 @@ ORDER BY "rank" DESC, "service" DESC`;
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: 'Tier',
|
Header: 'Tier',
|
||||||
accessor: 'tier',
|
id: 'tier',
|
||||||
|
accessor: row => {
|
||||||
|
return row.tier ? row.tier : row.worker ? row.worker.category : null;
|
||||||
|
},
|
||||||
Cell: row => {
|
Cell: row => {
|
||||||
const value = row.value;
|
const value = row.value;
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue