summaryrefslogtreecommitdiffstats
path: root/test-scheduler/ui/src/Global.vue
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-10-22 09:00:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-22 09:00:47 +0000
commitb183d7d424e312c585de2b40be0716a8996562f4 (patch)
treeeff3227eaa8684b490eab171f84ddc80a450d9b5 /test-scheduler/ui/src/Global.vue
parent4a94df533b4ae139af5e222e29375c19c7ace015 (diff)
parent399ec2f328f56c1f81c454ecedfb6b99eaf93c42 (diff)
Merge "fix testsuite name bugs and improve some ui details"
Diffstat (limited to 'test-scheduler/ui/src/Global.vue')
-rw-r--r--test-scheduler/ui/src/Global.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-scheduler/ui/src/Global.vue b/test-scheduler/ui/src/Global.vue
index 71defaac..f9dfed72 100644
--- a/test-scheduler/ui/src/Global.vue
+++ b/test-scheduler/ui/src/Global.vue
@@ -2,9 +2,12 @@
const SERVER_ADDR = '/parser/'
const WF_GRAPH_ADDR = '/wf-graph/'
const WF_SERVER_ADDR = '/wf-server/'
+const GRAFANA_PORT = 3000
+const GRAFANA_ADDR = 'http://' + window.location.hostname + ':' + GRAFANA_PORT + '/?orgId=1'
export default {
SERVER_ADDR,
WF_GRAPH_ADDR,
- WF_SERVER_ADDR
+ WF_SERVER_ADDR,
+ GRAFANA_ADDR
}
</script>