Skip to content

Commit

Permalink
fixed Dashboard not found when trying to open Grafana link from Jenki…
Browse files Browse the repository at this point in the history
…ns job
  • Loading branch information
serputko committed Sep 19, 2018
1 parent 90f7a61 commit e380cb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docker-compose-with-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
links:
- influxdb:influxdb
- graphite
image: grafana
image: grafana/grafana
build: ./grafana
user: "104"
ports:
Expand Down Expand Up @@ -85,7 +85,7 @@ services:
privileged: true
restart: always
jenkins:
image: jenkins
image: jenkins/jenkins
build: ./jenkins
depends_on:
- docker-dind
Expand Down Expand Up @@ -156,7 +156,7 @@ services:
jmeter:
container_name: jmeter
build: ./jmeter
image: jmeter
image: "java:8-jdk"
entrypoint:
- cat
influxdb-timeshift-proxy:
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
container_name: grafana
links:
- influxdb:influxdb
image: grafana
image: grafana/grafana
build: ./grafana
user: "104"
ports:
Expand Down Expand Up @@ -52,7 +52,7 @@ services:
privileged: true
restart: always
jenkins:
image: jenkins
image: jenkins/jenkins
build: ./jenkins
depends_on:
- docker-dind
Expand Down Expand Up @@ -92,7 +92,7 @@ services:
jmeter:
container_name: jmeter
build: ./jmeter
image: jmeter
image: "java:8-jdk"
entrypoint:
- cat
influxdb-timeshift-proxy:
Expand Down
2 changes: 1 addition & 1 deletion jenkins/jobs/BackendJob.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ grafana_url = "127.0.0.1:8857"
}

// grafana url for aggregate dashboard - replace time stamp with %s
def perfResult = "http://%s/dashboard/db/load-test-monitoring-with-docker-containers-monitoring?from=%s&to=%s"
def perfResult = "http://%s/dashboard/db/load-test-monitoring?from=%s&to=%s"

// get build start and end time
def start = build.getStartTimeInMillis();
Expand Down

0 comments on commit e380cb5

Please sign in to comment.