diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-04 18:43:49 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-04 18:43:49 +0000 |
| commit | dd403b17e7c74db9443d0891a9de1f0f0f9f89eb (patch) | |
| tree | 177dd9f664dde3565492c1d11016dabfeda28bbc /Cargo.lock | |
| parent | 950c2e4e68448d2abcad90a31bfffaca6d7bc47e (diff) | |
feat(sync): Phase 6 - observability and production readiness
- Add SyncMetrics with full Prometheus integration
- Track sync gaps via catchup events
- Update Grafana dashboard with sync panels
- Document all sync configuration options
- Update design doc with implementation notes
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 160 |
1 files changed, 157 insertions, 3 deletions
| @@ -774,7 +774,7 @@ dependencies = [ | |||
| 774 | "futures", | 774 | "futures", |
| 775 | "nostr-sdk 0.43.0", | 775 | "nostr-sdk 0.43.0", |
| 776 | "regex", | 776 | "regex", |
| 777 | "reqwest", | 777 | "reqwest 0.11.27", |
| 778 | "serde", | 778 | "serde", |
| 779 | "serde_json", | 779 | "serde_json", |
| 780 | "tempfile", | 780 | "tempfile", |
| @@ -1022,6 +1022,22 @@ dependencies = [ | |||
| 1022 | ] | 1022 | ] |
| 1023 | 1023 | ||
| 1024 | [[package]] | 1024 | [[package]] |
| 1025 | name = "hyper-rustls" | ||
| 1026 | version = "0.27.7" | ||
| 1027 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1028 | checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" | ||
| 1029 | dependencies = [ | ||
| 1030 | "http 1.3.1", | ||
| 1031 | "hyper 1.8.1", | ||
| 1032 | "hyper-util", | ||
| 1033 | "rustls", | ||
| 1034 | "rustls-pki-types", | ||
| 1035 | "tokio", | ||
| 1036 | "tokio-rustls", | ||
| 1037 | "tower-service", | ||
| 1038 | ] | ||
| 1039 | |||
| 1040 | [[package]] | ||
| 1025 | name = "hyper-tls" | 1041 | name = "hyper-tls" |
| 1026 | version = "0.5.0" | 1042 | version = "0.5.0" |
| 1027 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1043 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -1035,18 +1051,45 @@ dependencies = [ | |||
| 1035 | ] | 1051 | ] |
| 1036 | 1052 | ||
| 1037 | [[package]] | 1053 | [[package]] |
| 1054 | name = "hyper-tls" | ||
| 1055 | version = "0.6.0" | ||
| 1056 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1057 | checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" | ||
| 1058 | dependencies = [ | ||
| 1059 | "bytes", | ||
| 1060 | "http-body-util", | ||
| 1061 | "hyper 1.8.1", | ||
| 1062 | "hyper-util", | ||
| 1063 | "native-tls", | ||
| 1064 | "tokio", | ||
| 1065 | "tokio-native-tls", | ||
| 1066 | "tower-service", | ||
| 1067 | ] | ||
| 1068 | |||
| 1069 | [[package]] | ||
| 1038 | name = "hyper-util" | 1070 | name = "hyper-util" |
| 1039 | version = "0.1.18" | 1071 | version = "0.1.18" |
| 1040 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1072 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1041 | checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" | 1073 | checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" |
| 1042 | dependencies = [ | 1074 | dependencies = [ |
| 1075 | "base64 0.22.1", | ||
| 1043 | "bytes", | 1076 | "bytes", |
| 1077 | "futures-channel", | ||
| 1044 | "futures-core", | 1078 | "futures-core", |
| 1079 | "futures-util", | ||
| 1045 | "http 1.3.1", | 1080 | "http 1.3.1", |
| 1046 | "http-body 1.0.1", | 1081 | "http-body 1.0.1", |
| 1047 | "hyper 1.8.1", | 1082 | "hyper 1.8.1", |
| 1083 | "ipnet", | ||
| 1084 | "libc", | ||
| 1085 | "percent-encoding", | ||
| 1048 | "pin-project-lite", | 1086 | "pin-project-lite", |
| 1087 | "socket2 0.6.1", | ||
| 1088 | "system-configuration", | ||
| 1049 | "tokio", | 1089 | "tokio", |
| 1090 | "tower-service", | ||
| 1091 | "tracing", | ||
| 1092 | "windows-registry", | ||
| 1050 | ] | 1093 | ] |
| 1051 | 1094 | ||
| 1052 | [[package]] | 1095 | [[package]] |
| @@ -1214,6 +1257,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 1214 | checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" | 1257 | checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" |
| 1215 | 1258 | ||
| 1216 | [[package]] | 1259 | [[package]] |
| 1260 | name = "iri-string" | ||
| 1261 | version = "0.7.9" | ||
| 1262 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1263 | checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" | ||
| 1264 | dependencies = [ | ||
| 1265 | "memchr", | ||
| 1266 | "serde", | ||
| 1267 | ] | ||
| 1268 | |||
| 1269 | [[package]] | ||
| 1217 | name = "is_terminal_polyfill" | 1270 | name = "is_terminal_polyfill" |
| 1218 | version = "1.70.2" | 1271 | version = "1.70.2" |
| 1219 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1272 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -1385,6 +1438,8 @@ dependencies = [ | |||
| 1385 | "nostr-relay-builder", | 1438 | "nostr-relay-builder", |
| 1386 | "nostr-sdk 0.44.1", | 1439 | "nostr-sdk 0.44.1", |
| 1387 | "prometheus", | 1440 | "prometheus", |
| 1441 | "rand 0.8.5", | ||
| 1442 | "reqwest 0.12.24", | ||
| 1388 | "serde", | 1443 | "serde", |
| 1389 | "serde_json", | 1444 | "serde_json", |
| 1390 | "tempfile", | 1445 | "tempfile", |
| @@ -1956,7 +2011,7 @@ dependencies = [ | |||
| 1956 | "http 0.2.12", | 2011 | "http 0.2.12", |
| 1957 | "http-body 0.4.6", | 2012 | "http-body 0.4.6", |
| 1958 | "hyper 0.14.32", | 2013 | "hyper 0.14.32", |
| 1959 | "hyper-tls", | 2014 | "hyper-tls 0.5.0", |
| 1960 | "ipnet", | 2015 | "ipnet", |
| 1961 | "js-sys", | 2016 | "js-sys", |
| 1962 | "log", | 2017 | "log", |
| @@ -1969,7 +2024,7 @@ dependencies = [ | |||
| 1969 | "serde", | 2024 | "serde", |
| 1970 | "serde_json", | 2025 | "serde_json", |
| 1971 | "serde_urlencoded", | 2026 | "serde_urlencoded", |
| 1972 | "sync_wrapper", | 2027 | "sync_wrapper 0.1.2", |
| 1973 | "system-configuration", | 2028 | "system-configuration", |
| 1974 | "tokio", | 2029 | "tokio", |
| 1975 | "tokio-native-tls", | 2030 | "tokio-native-tls", |
| @@ -1982,6 +2037,46 @@ dependencies = [ | |||
| 1982 | ] | 2037 | ] |
| 1983 | 2038 | ||
| 1984 | [[package]] | 2039 | [[package]] |
| 2040 | name = "reqwest" | ||
| 2041 | version = "0.12.24" | ||
| 2042 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2043 | checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" | ||
| 2044 | dependencies = [ | ||
| 2045 | "base64 0.22.1", | ||
| 2046 | "bytes", | ||
| 2047 | "encoding_rs", | ||
| 2048 | "futures-core", | ||
| 2049 | "h2 0.4.12", | ||
| 2050 | "http 1.3.1", | ||
| 2051 | "http-body 1.0.1", | ||
| 2052 | "http-body-util", | ||
| 2053 | "hyper 1.8.1", | ||
| 2054 | "hyper-rustls", | ||
| 2055 | "hyper-tls 0.6.0", | ||
| 2056 | "hyper-util", | ||
| 2057 | "js-sys", | ||
| 2058 | "log", | ||
| 2059 | "mime", | ||
| 2060 | "native-tls", | ||
| 2061 | "percent-encoding", | ||
| 2062 | "pin-project-lite", | ||
| 2063 | "rustls-pki-types", | ||
| 2064 | "serde", | ||
| 2065 | "serde_json", | ||
| 2066 | "serde_urlencoded", | ||
| 2067 | "sync_wrapper 1.0.2", | ||
| 2068 | "tokio", | ||
| 2069 | "tokio-native-tls", | ||
| 2070 | "tower", | ||
| 2071 | "tower-http", | ||
| 2072 | "tower-service", | ||
| 2073 | "url", | ||
| 2074 | "wasm-bindgen", | ||
| 2075 | "wasm-bindgen-futures", | ||
| 2076 | "web-sys", | ||
| 2077 | ] | ||
| 2078 | |||
| 2079 | [[package]] | ||
| 1985 | name = "ring" | 2080 | name = "ring" |
| 1986 | version = "0.17.14" | 2081 | version = "0.17.14" |
| 1987 | source = "registry+https://github.com/rust-lang/crates.io-index" | 2082 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -2347,6 +2442,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 2347 | checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" | 2442 | checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" |
| 2348 | 2443 | ||
| 2349 | [[package]] | 2444 | [[package]] |
| 2445 | name = "sync_wrapper" | ||
| 2446 | version = "1.0.2" | ||
| 2447 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2448 | checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" | ||
| 2449 | dependencies = [ | ||
| 2450 | "futures-core", | ||
| 2451 | ] | ||
| 2452 | |||
| 2453 | [[package]] | ||
| 2350 | name = "synchronoise" | 2454 | name = "synchronoise" |
| 2351 | version = "1.0.1" | 2455 | version = "1.0.1" |
| 2352 | source = "registry+https://github.com/rust-lang/crates.io-index" | 2456 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -2588,6 +2692,45 @@ dependencies = [ | |||
| 2588 | ] | 2692 | ] |
| 2589 | 2693 | ||
| 2590 | [[package]] | 2694 | [[package]] |
| 2695 | name = "tower" | ||
| 2696 | version = "0.5.2" | ||
| 2697 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2698 | checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" | ||
| 2699 | dependencies = [ | ||
| 2700 | "futures-core", | ||
| 2701 | "futures-util", | ||
| 2702 | "pin-project-lite", | ||
| 2703 | "sync_wrapper 1.0.2", | ||
| 2704 | "tokio", | ||
| 2705 | "tower-layer", | ||
| 2706 | "tower-service", | ||
| 2707 | ] | ||
| 2708 | |||
| 2709 | [[package]] | ||
| 2710 | name = "tower-http" | ||
| 2711 | version = "0.6.7" | ||
| 2712 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2713 | checksum = "9cf146f99d442e8e68e585f5d798ccd3cad9a7835b917e09728880a862706456" | ||
| 2714 | dependencies = [ | ||
| 2715 | "bitflags 2.10.0", | ||
| 2716 | "bytes", | ||
| 2717 | "futures-util", | ||
| 2718 | "http 1.3.1", | ||
| 2719 | "http-body 1.0.1", | ||
| 2720 | "iri-string", | ||
| 2721 | "pin-project-lite", | ||
| 2722 | "tower", | ||
| 2723 | "tower-layer", | ||
| 2724 | "tower-service", | ||
| 2725 | ] | ||
| 2726 | |||
| 2727 | [[package]] | ||
| 2728 | name = "tower-layer" | ||
| 2729 | version = "0.3.3" | ||
| 2730 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2731 | checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" | ||
| 2732 | |||
| 2733 | [[package]] | ||
| 2591 | name = "tower-service" | 2734 | name = "tower-service" |
| 2592 | version = "0.3.3" | 2735 | version = "0.3.3" |
| 2593 | source = "registry+https://github.com/rust-lang/crates.io-index" | 2736 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -2949,6 +3092,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 2949 | checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" | 3092 | checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" |
| 2950 | 3093 | ||
| 2951 | [[package]] | 3094 | [[package]] |
| 3095 | name = "windows-registry" | ||
| 3096 | version = "0.6.1" | ||
| 3097 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 3098 | checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" | ||
| 3099 | dependencies = [ | ||
| 3100 | "windows-link", | ||
| 3101 | "windows-result", | ||
| 3102 | "windows-strings", | ||
| 3103 | ] | ||
| 3104 | |||
| 3105 | [[package]] | ||
| 2952 | name = "windows-result" | 3106 | name = "windows-result" |
| 2953 | version = "0.4.1" | 3107 | version = "0.4.1" |
| 2954 | source = "registry+https://github.com/rust-lang/crates.io-index" | 3108 | source = "registry+https://github.com/rust-lang/crates.io-index" |