|
1 | | -blockchain: "Example Chain" # Name of blockchain i.e "Ethereum" |
2 | | -chain_id: 1 # Chain ID, can be found at https://chainlist.org/ |
3 | | -network_name: "Example" # Name of the blokckchain network i.e Rinkeby |
4 | | -network_type: "Example" # Type of the blockchain network, only two values allowed (Mainnet|Testnet) |
5 | | -connection_timeout_seconds : 5 # Amount in seconds before websocket client drops a connection that has not finished connection handshake and labels the RPC node as unhealhty. |
6 | | -slo: # Metrics below 'slo' will only affect `ws_rpc_sla_compliant` metric. In case any of the threshold are breached, this metric will be set to 0 for that perticular RPC endpoint. |
7 | | - max_pool_deviation_block_count: 10 # Threshold for max allowed deviation in block height, compared to the node with the highest block count in the pool. |
8 | | - max_response_latency_miliseconds: 500 # Threshold for max allowed latency. |
9 | | -endpoints: # List of endpoints with their metadata. |
10 | | - - url: wss://example-rpc-1.com/ws # RPC Endpoint (Must start with wss://) |
11 | | - provider: Provider1 # Provider (Must be present in allowed providers list. Please check src/settings.py line 24) The purpose is to make sure we do not have same providers spelled differently |
12 | | - - url: wss://example-rpc-2.com/ws |
| 1 | +blockchain: "Example Chain" # Name of blockchain i.e "Ethereum" |
| 2 | +chain_id: 1 # Chain ID, can be found at https://chainlist.org/ |
| 3 | +network_name: "Example" # Name of the blokckchain network i.e Rinkeby |
| 4 | +network_type: "Example" # Type of the blockchain network, only two values allowed (Mainnet|Testnet) |
| 5 | +connection_parameters: |
| 6 | + open_timeout: 6 # Timeout when opening websocket connection |
| 7 | + close_timeout: 1 # Timeout when closing websocket connection |
| 8 | + response_timeout: 5 # Timeout when waiting for a websocket message response |
| 9 | + ping_interval: 6 # Liveness ping intervals |
| 10 | + ping_timeout: 3 # Liveness ping timeout |
| 11 | +collector: "evm" # This will load different collectors based on what mode exporter will run with Supported modes are: "evm", "solana", "conflux", "cardano" |
| 12 | +endpoints: # List of endpoints with their metadata. |
| 13 | + - ws_url: wss://example-rpc-1.com/ws # RPC Endpoint websocket endpoint (Must start with wss://) |
| 14 | + https_url: https://example-rpc-1.com/rpc # RPC Endpoint https endpoint (Must be valid https:// domain) |
| 15 | + provider: Provider1 # Provider (Must be present in allowed providers list. Please check src/settings.py line 24) The purpose is to make sure we do not have same providers spelled differently |
| 16 | + - ws_url: wss://example-rpc-2.com/ws |
| 17 | + https_url: https://example-rpc-2.com/rpc |
13 | 18 | provider: Provider2 |
14 | | - - url: wss://example-rpc-3.com/ws |
| 19 | + - ws_url: wss://example-rpc-3.com/ws |
| 20 | + https_url: https://example-rpc-3.com/rpc |
15 | 21 | provider: Provider3 |
| 22 | + |
| 23 | + |
| 24 | + |
0 commit comments