From 5b302ae5f2e0c01cb111a37680d63df3d47b114d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 19 Jan 2026 12:26:36 -0600 Subject: tweak docs --- src/slskd/Telemetry/Metrics.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/slskd/Telemetry/Metrics.cs b/src/slskd/Telemetry/Metrics.cs index 85b13fa6..520d77a2 100644 --- a/src/slskd/Telemetry/Metrics.cs +++ b/src/slskd/Telemetry/Metrics.cs @@ -47,8 +47,6 @@ public static class Metrics /// /// Gets an automatically resetting counter of the number of search requests received per minute. - /// This metric previously represented a per-second rate; changing the period to one minute is a - /// breaking change for consumers that assumed requests per second. /// public static TimedCounter CurrentRequestReceiveRate { get; } = new TimedCounter(TimeSpan.FromMinutes(1), onElapsed: count => CurrentRequestReceiveRateGauge.Set(count)); @@ -58,7 +56,7 @@ public static class Metrics public static Counter RequestsDropped { get; } = Prometheus.Metrics.CreateCounter("slskd_search_incoming_requests_dropped", "Total number of search requests dropped due to processing pressure"); /// - /// Gets an automatically resetting counter of the number of search requests dropped due to processing pressure. + /// Gets an automatically resetting counter of the number of search requests dropped due to processing pressure per minute. /// public static TimedCounter CurrentRequestDropRate { get; } = new TimedCounter(TimeSpan.FromMinutes(1), onElapsed: count => CurrentRequestDropRateGauge.Set(count)); @@ -68,7 +66,7 @@ public static class Metrics public static Counter ResponsesSent { get; } = Prometheus.Metrics.CreateCounter("slskd_search_incoming_responses_sent", "Total number of search responses sent"); /// - /// Gets an automatically resetting counter of the number of search responses sent. + /// Gets an automatically resetting counter of the number of search responses sent per minute. /// public static TimedCounter CurrentResponseSendRate { get; } = new TimedCounter(TimeSpan.FromMinutes(1), onElapsed: count => CurrentResponseSendRateGauge.Set(count)); -- cgit v1.2.3