From 0cb6c2394d3da26a7cf203e996735557ccf9791a Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Sat, 3 Feb 2024 10:55:14 +0700 Subject: [PATCH] add prometheus-external --- .../setup_install_cumulus/templates/cumulus_bootnode.service.j2 | 2 +- .../setup_install_cumulus/templates/cumulus_endpoint.service.j2 | 1 + .../templates/encointer_endpoint.service.j2 | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/setup_install_cumulus/templates/cumulus_bootnode.service.j2 b/roles/setup_install_cumulus/templates/cumulus_bootnode.service.j2 index 2bda978..2a56880 100644 --- a/roles/setup_install_cumulus/templates/cumulus_bootnode.service.j2 +++ b/roles/setup_install_cumulus/templates/cumulus_bootnode.service.j2 @@ -24,13 +24,13 @@ ExecStart={{ default_base_path }}/cumulus \ --public-addr /dns/{{ default_public_dns }}/tcp/{{ default_p2p_port_wss }}/wss \ --rpc-port {{ default_rpc_port }} \ --prometheus-port {{ default_prom_port }} \ + --prometheus-external \ --relay-chain-rpc-urls {{ default_relay_rpc }} {{ default_relay_rpc_fallback }} \ --wasm-execution Compiled \ --sync {{ default_syncmode | default('warp') }} \ --no-hardware-benchmarks \ --rpc-external \ --rpc-methods safe \ - --prometheus-external \ --rpc-cors all \ --allow-private-ipv4 diff --git a/roles/setup_install_cumulus/templates/cumulus_endpoint.service.j2 b/roles/setup_install_cumulus/templates/cumulus_endpoint.service.j2 index 69568e8..cd9553b 100644 --- a/roles/setup_install_cumulus/templates/cumulus_endpoint.service.j2 +++ b/roles/setup_install_cumulus/templates/cumulus_endpoint.service.j2 @@ -22,6 +22,7 @@ ExecStart={{ default_base_path }}/cumulus \ --public-addr /dns/{{ default_public_dns }}/tcp/{{ default_p2p_port_wss }}/wss \ --rpc-port {{ default_rpc_port }} \ --prometheus-port {{ default_prom_port }} \ + --prometheus-external \ --relay-chain-rpc-urls {{ default_relay_rpc }} {{ default_relay_rpc_fallback }} \ --wasm-execution Compiled \ --no-hardware-benchmarks \ diff --git a/roles/setup_install_encointer/templates/encointer_endpoint.service.j2 b/roles/setup_install_encointer/templates/encointer_endpoint.service.j2 index 7a5f625..b5d5668 100644 --- a/roles/setup_install_encointer/templates/encointer_endpoint.service.j2 +++ b/roles/setup_install_encointer/templates/encointer_endpoint.service.j2 @@ -22,6 +22,7 @@ ExecStart={{ default_base_path }}/encointer \ --public-addr /dns/{{ default_public_dns }}/tcp/{{ default_p2p_port_wss }}/wss \ --rpc-port {{ default_rpc_port }} \ --prometheus-port {{ default_prom_port }} \ + --prometheus-external \ --relay-chain-rpc-urls {{ default_relay_rpc }} {{ default_relay_rpc_fallback }} \ --wasm-execution Compiled \ --execution native-else-wasm \