diff --git a/graph-node/firehose-node.yaml b/graph-node/firehose-node.yaml index b45f0a8..26681d6 100644 --- a/graph-node/firehose-node.yaml +++ b/graph-node/firehose-node.yaml @@ -16,6 +16,10 @@ spec: port: 26657 protocol: TCP targetPort: 26657 + - name: prometheus-node + port: 26660 + protocol: TCP + targetPort: 26660 - name: http port: 8081 protocol: TCP @@ -24,6 +28,10 @@ spec: port: 9030 protocol: TCP targetPort: 9030 + - name: prometheus-firehose + port: 9102 + protocol: TCP + targetPort: 9102 selector: app.kubernetes.io/name: persistencecore-firehose-node --- diff --git a/graph-node/graph-node.yaml b/graph-node/graph-node.yaml index 049bb97..79d7950 100644 --- a/graph-node/graph-node.yaml +++ b/graph-node/graph-node.yaml @@ -20,6 +20,14 @@ spec: port: 8020 protocol: TCP targetPort: 8020 + - name: health + port: 8030 + protocol: TCP + targetPort: 8030 + - name: prometheus + port: 8040 + protocol: TCP + targetPort: 8040 selector: app.kubernetes.io/name: persistencecore-graph-node --- diff --git a/graph-node/scripts/init-firehose-node.sh b/graph-node/scripts/init-firehose-node.sh index b829f3b..8f3e426 100644 --- a/graph-node/scripts/init-firehose-node.sh +++ b/graph-node/scripts/init-firehose-node.sh @@ -52,6 +52,7 @@ else sed -i 's/timeout_commit = "5s"/timeout_commit = "1s"/g' $HOME_DIR/config/config.toml sed -i 's/timeout_propose = "3s"/timeout_propose = "1s"/g' $HOME_DIR/config/config.toml sed -i 's/index_all_keys = false/index_all_keys = true/g' $HOME_DIR/config/config.toml + sed -i 's/prometheus = false/prometheus = true/g' $HOME_DIR/config/config.toml # replace seeds if the variable is not empty if [ ! -z "$SEEDS" ]; then