diff --git a/hermes/.envrc.sample b/hermes/.envrc.sample index 67c4790ae..f07fd3433 100644 --- a/hermes/.envrc.sample +++ b/hermes/.envrc.sample @@ -1,7 +1,7 @@ export PYTHNET_HTTP_ADDR=http://pythnet-http-rpc/ export PYTHNET_WS_ADDR=ws://pythnet-ws-rpc/ export RPC_LISTEN_ADDR=0.0.0.0:7575 -export METRICS_LISTEN_ADDR=0.0.0.0:7576 +export METRICS_SERVER_LISTEN_ADDR=0.0.0.0:7576 export BENCHMARKS_ENDPOINT=https://benchmarks.pyth.network export WORMHOLE_SPY_RPC_ADDR=http://spy-or-beacon-rpc export RUST_LOG=info diff --git a/hermes/Cargo.lock b/hermes/Cargo.lock index cc0732a4b..f6bd1272b 100644 --- a/hermes/Cargo.lock +++ b/hermes/Cargo.lock @@ -1574,7 +1574,7 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermes" -version = "0.4.0" +version = "0.4.1" dependencies = [ "anyhow", "async-trait", diff --git a/hermes/Cargo.toml b/hermes/Cargo.toml index dc4cbae42..7a2c9b9d3 100644 --- a/hermes/Cargo.toml +++ b/hermes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hermes" -version = "0.4.0" +version = "0.4.1" description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle." edition = "2021" diff --git a/hermes/src/config/metrics.rs b/hermes/src/config/metrics.rs index 77a16d877..c963a065e 100644 --- a/hermes/src/config/metrics.rs +++ b/hermes/src/config/metrics.rs @@ -12,6 +12,6 @@ pub struct Options { /// Address and port the RPC server will bind to. #[arg(long = "metrics-server-listen-addr")] #[arg(default_value = DEFAULT_METRICS_SERVER_LISTEN_ADDR)] - #[arg(env = "METRICS_LISTEN_ADDR")] + #[arg(env = "METRICS_SERVER_LISTEN_ADDR")] pub server_listen_addr: SocketAddr, }