diff options
Diffstat (limited to 'src/api/stats/prometheus.rs')
| -rw-r--r-- | src/api/stats/prometheus.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs index 30bb966..f9eb3bf 100644 --- a/src/api/stats/prometheus.rs +++ b/src/api/stats/prometheus.rs @@ -323,6 +323,12 @@ pub(super) async fn render(state: &AppState, stats: &StatsResponse) -> String { ); } out.single( + "largest_sync_received_bytes", + "gauge", + "The largest sync message received since start; larger transfers come as deltas.", + stats.sync.largest_received_bytes as f64, + ); + out.single( "diverged_peers", "gauge", "Peers whose heads differ from ours while sync is idle.", |
