feat:promeServer 配置新增thanos 选项

This commit is contained in:
wangwenrui
2020-09-01 15:36:21 +08:00
parent 1bc2f99116
commit 702e00f973
3 changed files with 74 additions and 9 deletions

View File

@@ -32,10 +32,56 @@ export const staticMenus = {
};
export const promServer = {
typeData: [
{value: 1, label: 'Global'},
{value: 2, label: 'Per-Datacenter'}
],
theData:[
{
label:'Federation',
value:'federation',
children:[
{
label:'Global',
value:1,
text:'Global',
},
{
label:'Per-datacenter',
value:2,
text:'Per-datacenter',
}
]
},
{
label:'Thanos',
value:'Thanos',
children:[
{
label:'query',
value:3,
text:'Thanos-query'
},
{
label:'rule',
value:4,
text:'Thanos-rule'
},
{
label:'sidecar',
value:5,
text:'Thanos-sidecar'
},
{
label:'store',
value:6,
text:'Thanos-store'
},
{
label:'compactor',
value:7,
text:'Thanos-compactor'
}
]
}
]
};
export const asset = {