Skip to content

A service to periodically measure latency of multiple RPC endpoints and report it as prometheus metrics

Notifications You must be signed in to change notification settings

fastnear/rpc-latency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPC Latency tester server

Runs a list of tests in a loop, measuring the time it takes to complete each test. Reports metrics in Prometheus format.

Usage

See demo_config.json for an example configuration file.

Create .env file with the following content:

RUST_LOG="rpc=debug,actix_server=info,actix_web=info"
RPC_CONFIG_PATH="demo_config.json"
PORT=3005

Run the server:

cargo run --release

Query the metrics:

curl localhost:3005/metrics

About

A service to periodically measure latency of multiple RPC endpoints and report it as prometheus metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages