Skip to content

Commit

Permalink
add config file
Browse files Browse the repository at this point in the history
  • Loading branch information
eedygreen committed Mar 12, 2024
1 parent 299c38d commit 55489c9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 55489c9

Please sign in to comment.