Skip to content

Commit 220795c

Browse files
authored
Integrate dashboards submodule (temporalio#1965)
1 parent d79e558 commit 220795c

6 files changed

Lines changed: 12 additions & 4 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "proto/api"]
22
path = proto/api
33
url = https://github.com/temporalio/api
4+
[submodule "develop/docker-compose/grafana/provisioning/temporalio-dashboards"]
5+
path = develop/docker-compose/grafana/provisioning/temporalio-dashboards
6+
url = https://github.com/temporalio/dashboards

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,11 @@ docker-admin-tools:
491491
@printf $(COLOR) "Build docker image temporalio/admin-tools:$(DOCKER_IMAGE_TAG)..."
492492
docker build . -t temporalio/admin-tools:$(DOCKER_IMAGE_TAG) --build-arg TARGET=admin-tools
493493

494+
##### Grafana #####
495+
update-dashboards:
496+
@printf $(COLOR) "Update dashboards submodule from remote..."
497+
git submodule update --force --init --remote develop/docker-compose/grafana/provisioning/temporalio-dashboards
498+
494499
##### Auxiliary #####
495500
gomodtidy:
496501
@printf $(COLOR) "go mod tidy..."

develop/docker-compose/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
- temporal-dev-network
6060
prometheus:
6161
# Use http://localhost:9090/ to access Prometheus.
62-
image: prom/prometheus
62+
image: prom/prometheus:v2.30.0
6363
container_name: temporal-dev-prometheus
6464
command:
6565
- "--log.level=error"
@@ -69,7 +69,7 @@ services:
6969
- "--web.console.templates=/usr/share/prometheus/consoles"
7070
grafana:
7171
# Use http://localhost:3000/ to access Grafana (admin/admin).
72-
image: grafana/grafana
72+
image: grafana/grafana:8.1.5
7373
container_name: temporal-dev-grafana
7474
depends_on:
7575
- prometheus

develop/docker-compose/grafana/provisioning/dashboards/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

develop/docker-compose/grafana/provisioning/dashboards/dashboard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ providers:
88
disableDeletion: false
99
editable: true
1010
options:
11-
path: /etc/grafana/provisioning/dashboards
11+
path: /etc/grafana/provisioning/temporalio-dashboards/dashboards

0 commit comments

Comments
 (0)