aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-01-18 11:47:28 -0600
committerJP Dillingham <jp@dillingham.me>2026-01-18 11:47:28 -0600
commitc87476175285a84196075ebc8a9b388169d8c34a (patch)
treea3e7ab18ab6eb04a6306f93ac84712b80f03e947
parent4b59a3b86a46326633b72350b6dc881441593838 (diff)
downloadslskd-c87476175285a84196075ebc8a9b388169d8c34a.tar.gz
tweak descriptions
-rw-r--r--src/slskd/Telemetry/Metrics.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/slskd/Telemetry/Metrics.cs b/src/slskd/Telemetry/Metrics.cs
index 2d5b40e5..d0592a68 100644
--- a/src/slskd/Telemetry/Metrics.cs
+++ b/src/slskd/Telemetry/Metrics.cs
@@ -66,11 +66,11 @@ public static class Metrics
public static TimedCounter CurrentResponseSendRate { get; } = new TimedCounter(TimeSpan.FromMinutes(1), onElapsed: count => CurrentResponseSendRateGauge.Set(count));
/// <summary>
- /// Gets a histogram representing the time taken to resolve a response to an incoming search request, in milliseconds.
+ /// Gets a histogram representing the time taken to resolve and return a response to an incoming search request, in milliseconds.
/// </summary>
public static Histogram ResponseLatency { get; } = Prometheus.Metrics.CreateHistogram(
"slskd_search_response_latency",
- "The time taken to resolve a response to an incoming search request, in milliseconds",
+ "The time taken to resolve and return a response to an incoming search request, in milliseconds",
new HistogramConfiguration
{
Buckets = Histogram.ExponentialBuckets(0.1, 2, 11),
@@ -82,7 +82,7 @@ public static class Metrics
public static ExponentialMovingAverage CurrentResponseLatency { get; } = new ExponentialMovingAverage(smoothingFactor: 0.5, onUpdate: value => CurrentResponseLatencyGauge.Set(value));
private static Gauge CurrentResponseLatencyGauge { get; } =
- Prometheus.Metrics.CreateGauge("slskd_search_response_latency_current", "The average time taken to resolve and send a response to an incoming search request, in milliseconds");
+ Prometheus.Metrics.CreateGauge("slskd_search_response_latency_current", "The average time taken to resolve and return a response to an incoming search request, in milliseconds");
private static Gauge CurrentRequestReceiveRateGauge { get; } =
Prometheus.Metrics.CreateGauge("slskd_search_request_receive_rate_current", "Number of search requests received in the last minute");
private static Gauge CurrentRequestDropRateGauge { get; } =
@@ -120,7 +120,7 @@ public static class Metrics
public static class Query
{
/// <summary>
- /// Gets a histogram representing the time taken to perform a share search, in milliseconds.
+ /// Gets a histogram representing the time taken to query share database(s) for results, in milliseconds.
/// </summary>
public static Histogram Latency { get; } = Prometheus.Metrics.CreateHistogram(
"slskd_search_query_latency",
@@ -131,7 +131,7 @@ public static class Metrics
});
/// <summary>
- /// Gets an EMA representing the average time taken to resolve a response to an incoming search request, in milliseconds.
+ /// Gets an EMA representing the average time taken to query share database(s) for results, in milliseconds.
/// </summary>
public static ExponentialMovingAverage CurrentLatency { get; } = new ExponentialMovingAverage(smoothingFactor: 0.5, onUpdate: value => CurrentLatencyGauge.Set(value));
private static Gauge CurrentLatencyGauge { get; } = Prometheus.Metrics.CreateGauge("slskd_search_query_latency_current", "The average time taken to query share database(s) for results, in milliseconds");