diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2023-02-02 08:44:51 +0000 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2023-02-02 10:11:29 +0000 |
commit | c6eb02ae0f1b9b69a248621e68dbc7a481ce95b7 (patch) | |
tree | 070fbbc0685ff2d9dab5a94c9c5bf11d272ca721 /csit/start-grafana.sh | |
parent | 0700486a08b2bc08589f7e6b0be8338d6bbb4efa (diff) |
Add configurations to run SLAs validations on CSITs
Issue-ID: POLICY-4531
Change-Id: Idf69fe888828fabd4ec0cd3c18fea7aff96caac8
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/start-grafana.sh')
-rwxr-xr-x | csit/start-grafana.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/csit/start-grafana.sh b/csit/start-grafana.sh index e081d04c..646b6f6d 100755 --- a/csit/start-grafana.sh +++ b/csit/start-grafana.sh @@ -1,7 +1,7 @@ #!/bin/bash # # ============LICENSE_START==================================================== -# Copyright (C) 2022 Nordix Foundation. +# Copyright (C) 2022-2023 Nordix Foundation. # ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ SCRIPTS=$(git rev-parse --show-toplevel) export SCRIPTS="${SCRIPTS}"/csit +export CONTAINER_LOCATION="nexus3.onap.org:10001/" source "${SCRIPTS}"/get-versions.sh @@ -27,14 +28,11 @@ export PROJECT="${1}" if [ -z "${PROJECT}" ]; then echo "Starting all components..." - docker-compose -f "${SCRIPTS}"/compose-grafana.yml up -d + docker-compose -f "${SCRIPTS}"/docker-compose-all.yml up -d else echo "Starting ${PROJECT} application..." - docker-compose -f "${SCRIPTS}"/compose-grafana.yml up -d "${PROJECT}" grafana + docker-compose -f "${SCRIPTS}"/docker-compose-all.yml up -d "${PROJECT}" grafana fi -prometheus=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' prometheus) -grafana=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' grafana) - -echo "Prometheus server: http://${prometheus}:9090" -echo "Grafana server: http://${grafana}:3000" +echo "Prometheus server: http://localhost:30259" +echo "Grafana server: http://localhost:30269" |