summaryrefslogtreecommitdiffstats
path: root/test-scheduler/ui/src/Global.vue
diff options
context:
space:
mode:
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>