Skip to content

Commit 1e056b1

Browse files
authored
feat: upload default dashboard json (#238)
1 parent a1df03f commit 1e056b1

5 files changed

Lines changed: 5061 additions & 4 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ build-txproxy: ## 🏗️ Build based txproxy
7878
build-metrics-exporter: ## 🏗️ Build metrics exporter
7979
docker build -t local_based_metrics_exporter -f ./based/metrics-exporter.Dockerfile --build-context reth=./reth ./based --load
8080

81-
build-metrics-exporter: ## 🏗️ Build metrics exporter
82-
docker build -t local_based_metrics_exporter -f ./based/metrics-exporter.Dockerfile --build-context reth=./reth ./based --load
83-
8481
build-based-op-geth: ## 🏗️ Build OP geth from op-eth directory
8582
docker build -t local_based_op_geth ../based-op-geth
8683

@@ -420,6 +417,9 @@ stop-main-node:
420417
fi
421418
docker compose -f .local_main_node/compose.yml down
422419

420+
start-monitoring:
421+
docker compose $(START_MONITORING_COMPOSE_FILES) up -d
422+
423423
stop-monitoring:
424424
docker compose $(START_MONITORING_COMPOSE_FILES) down
425425

monitoring/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ services:
4141
- grafana-data:/var/lib/grafana
4242
- ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml:ro
4343
- ./grafana/dashboards:/etc/grafana/provisioning/dashboards
44-
- ./grafana/dashboards:/etc/grafana/dashboards
4544
environment:
4645
- GF_SECURITY_ADMIN_USER=based-op
4746
- GF_SECURITY_ADMIN_PASSWORD=grafana
47+
- GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/dashboards.yml
4848
networks:
4949
- monitoring
5050
depends_on:

0 commit comments

Comments
 (0)