diff --git a/Cargo.lock b/Cargo.lock index 64ec1d3..e3d5d2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4715,9 +4715,10 @@ dependencies = [ [[package]] name = "metrics" version = "0.1.0" -source = "git+https://github.com/Conflux-Chain/conflux-rust.git?rev=992ebc5483d937c8f6b883e266f8ed2a67a7fa9a#992ebc5483d937c8f6b883e266f8ed2a67a7fa9a" +source = "git+https://github.com/Conflux-Chain/conflux-rust.git?rev=c4734e337c66d38e6396742cd5117b596e8d2603#c4734e337c66d38e6396742cd5117b596e8d2603" dependencies = [ "chrono", + "duration-str", "futures", "influx_db_client", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index 270c70d..7567432 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ members = [ resolver = "2" [workspace.dependencies] -metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "992ebc5483d937c8f6b883e266f8ed2a67a7fa9a" } +metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "c4734e337c66d38e6396742cd5117b596e8d2603" } [patch.crates-io] discv5 = { path = "version-meld/discv5" } diff --git a/run/config-testnet-standard.toml b/run/config-testnet-standard.toml index dbeca41..0aa2166 100644 --- a/run/config-testnet-standard.toml +++ b/run/config-testnet-standard.toml @@ -324,7 +324,7 @@ auto_sync_enabled = true # enabled = false # Interval to output metrics periodically, e.g. "10s", "30s" or "60s". -# report_interval = "" +# report_interval = "10s" # File name to output metrics periodically. # file_report_output = "" diff --git a/run/config-testnet-turbo.toml b/run/config-testnet-turbo.toml index a8876d5..c969bb4 100644 --- a/run/config-testnet-turbo.toml +++ b/run/config-testnet-turbo.toml @@ -336,7 +336,7 @@ auto_sync_enabled = true # enabled = false # Interval to output metrics periodically, e.g. "10s", "30s" or "60s". -# report_interval = "" +# report_interval = "10s" # File name to output metrics periodically. # file_report_output = "" diff --git a/run/config.toml b/run/config.toml index 831c079..6d0f4c8 100644 --- a/run/config.toml +++ b/run/config.toml @@ -338,7 +338,7 @@ # enabled = false # Interval to output metrics periodically, e.g. "10s", "30s" or "60s". -# report_interval = "" +# report_interval = "10s" # File name to output metrics periodically. # file_report_output = ""