radiance/cmd/solrays
Richard Patel 758ede5690 Move Go module to go.firedancer.io/radiance
Change-Id: I76845d19e864d6c7cd0fff77dbe63fc722bbf808
Reviewed-on: https://git.firedancer.io/c/radiance/+/131
2022-09-21 23:40:06 +00:00
..
README.md readme: normalize Markdown headers syntax 2022-09-15 09:45:53 -05:00
app.go Move Go module to go.firedancer.io/radiance 2022-09-21 23:40:06 +00:00
handler.go cmd/solrays: import from internal repo 2022-09-11 21:06:23 +02:00
methods.go cmd/solrays: remove pubsub RPC from allow list 2022-09-15 09:45:53 -05:00

README.md

solrays

An RPC proxy that exports call latency of a Solana RPC node.

Metrics

  • solrays_forwarded_duration_seconds - an histogram of the duration of the calls forwarded to the Solana RPC node, per call.
  • solrays_requests_total - Count of total requests per call.
  • solrays_request_errors_total - Count of total requests that failed, e.g. malformed request or proxy can't reach the Solana RPC node.
  • solrays_requests_status_total - Count of response HTTP status codes, per status code.

Run

:; _bin/solrays -h

Key flags are:

  • backend - the Solana RPC endpoint to proxy and monitor. Defaults to http://localhost:8899).
  • listen - address where the RPC metrics and Go profiler endpoints are exposed.
  • tlsHostname - the optional hostname for this service. Implicitly enables HTTPS.
  • tlsProd - if HTTPS is enabled, select whether the x509 artifacts are provisioned by the production or the testing Let's Encrypt public ACME service. Defaults to false, meaning the testing service will be used.