docs: 补充文档和配置注释

This commit is contained in:
v-zhangjc9
2024-03-06 14:02:44 +08:00
parent c038664567
commit 90b393277a
3 changed files with 80 additions and 11 deletions

View File

@@ -1,13 +1,14 @@
const commonInfo = {
// baseUrl: 'http://132.126.207.131:35690/hudi_services/service_web',
baseUrl: '/hudi_services/service_web',
clusters: {
// hudi同步运行集群和yarn队列名称
sync: {
'b12': 'default',
},
sync_names() {
return Object.keys(this.sync).join(',')
},
// hudi压缩运行集群和yarn队列名称
compaction: {
'b12': 'default',
'b1': 'datalake',
@@ -19,10 +20,13 @@ const commonInfo = {
},
},
loki: {
// grafana链接用于直接打开grafana日志查看
grafanaUrl: 'http://132.126.207.125:35700',
// grafana对应hudi使用的loki配置的datasource id
hudi: {
datasource: 'f648174e-7593-45cf-8fe8-8f8d5cf0fdde',
},
// grafana对应服务使用的loki配置的datasource id
service: {
datasource: 'b6fee51c-facd-4261-a0eb-8c69a975fba3',
}