include user_error_response in aggregate stats

This commit is contained in:
Bryan Stitt 2023-08-15 17:08:11 -07:00
parent 54341c4654
commit 5b9ef30e64
4 changed files with 6 additions and 5 deletions

4
Cargo.lock generated

@ -7242,7 +7242,7 @@ dependencies = [
[[package]]
name = "web3_proxy"
version = "1.42.7"
version = "1.42.8"
dependencies = [
"anyhow",
"arc-swap",
@ -7323,7 +7323,7 @@ dependencies = [
[[package]]
name = "web3_proxy_cli"
version = "1.42.7"
version = "1.42.8"
dependencies = [
"env_logger",
"parking_lot",

@ -1,6 +1,6 @@
[package]
name = "web3_proxy"
version = "1.42.7"
version = "1.42.8"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

@ -212,6 +212,7 @@ pub async fn query_user_influx_stats<'a>(
"chain_id",
"error_response",
"rpc_secret_key_id",
"user_error_response",
]"#
}
StatType::Detailed => {
@ -547,7 +548,7 @@ pub async fn query_user_influx_stats<'a>(
error!("error_response should always be a String!");
}
}
} else if stat_response_type == StatType::Detailed && key == "user_error_response" {
} else if key == "user_error_response" {
match value {
influxdb2_structmap::value::Value::String(inner) => {
out.insert(

@ -1,6 +1,6 @@
[package]
name = "web3_proxy_cli"
version = "1.42.7"
version = "1.42.8"
edition = "2021"
default-run = "web3_proxy_cli"