Fix metrics config deser (#245)
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled

This commit is contained in:
Bo QIU 2024-10-22 14:14:33 +08:00 committed by GitHub
parent 2947cb7ac6
commit 8f17a7ad72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 5 deletions

3
Cargo.lock generated
View File

@ -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",

View File

@ -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" }

View File

@ -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 = ""

View File

@ -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 = ""

View File

@ -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 = ""