diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..dddeff3 --- /dev/null +++ b/config.yaml @@ -0,0 +1,22 @@ +metrics: + port: 9090 # port for prometheus metrics, served on /metrics and / + +proxy: + port: 8000 # port for RPC gateway + upstreamTimeout: "1s" # when is a request considered timed out + +healthChecks: + interval: "5s" # how often to do healthchecks + timeout: "1s" # when should the timeout occur and considered unhealthy + failureThreshold: 2 # how many failed checks until marked as unhealthy + successThreshold: 1 # how many successes to be marked as healthy again + +targets: # the order here determines the failover order + - name: "Cloudflare" + connection: + http: # ws is supported by default, it will be a sticky connection. + url: "https://cloudflare-eth.com" + - name: "lodestar" + connection: + http: # ws is supported by default, it will be a sticky connection. + url: "https://lodestar-goerlirpc.chainsafe.io" \ No newline at end of file