diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-01-19 12:26:36 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-01-19 12:26:36 -0600 |
| commit | 5b302ae5f2e0c01cb111a37680d63df3d47b114d (patch) | |
| tree | 0370a03f1fadda7e6d4979cb4ee46c4d75880e8d /src | |
| parent | 5387effb11f58db572077a228882c9bd7eb7fd6d (diff) | |
| download | slskd-5b302ae5f2e0c01cb111a37680d63df3d47b114d.tar.gz | |
tweak docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Telemetry/Metrics.cs | 6 |
1 files changed, 2 insertions, 4 deletions
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 /// <summary> /// 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. /// </summary> 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"); /// <summary> - /// 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. /// </summary> 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"); /// <summary> - /// 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. /// </summary> public static TimedCounter CurrentResponseSendRate { get; } = new TimedCounter(TimeSpan.FromMinutes(1), onElapsed: count => CurrentResponseSendRateGauge.Set(count)); |
