Update watcher dashboards for upstream and external chain heads

This commit is contained in:
2023-12-18 15:12:20 +05:30
parent 743dc6ea83
commit d4e42d2aec
14 changed files with 444 additions and 24 deletions
@@ -28,5 +28,20 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
chain-head-exporter:
image: cerc/watcher-ts:local
restart: always
working_dir: /app/packages/cli
environment:
ETH_RPC_ENDPOINT: ${CERC_ETH_RPC_ENDPOINT}
FIL_RPC_ENDPOINT: ${CERC_FIL_RPC_ENDPOINT}
ETH_RPC_API_KEY: ${CERC_INFURA_KEY}
PORT: ${CERC_METRICS_PORT}
command: ["sh", "-c", "yarn export-metrics:chain-heads"]
ports:
- '5000'
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
prometheus_data: