diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-04-30 18:55:56 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-04-30 18:55:56 -0500 |
| commit | 1b1ffdd6d7b1db0558dfb33c74e005d4ad8df2c1 (patch) | |
| tree | 4cae6721cd6a24fa49c8960281d35374a4288c43 /src/slskd/Telemetry | |
| parent | 005a8310ad5729275a50903162eba0abf450f8b6 (diff) | |
| download | slskd-1b1ffdd6d7b1db0558dfb33c74e005d4ad8df2c1.tar.gz | |
add notes
Diffstat (limited to 'src/slskd/Telemetry')
| -rw-r--r-- | src/slskd/Telemetry/Metrics.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Telemetry/Metrics.cs b/src/slskd/Telemetry/Metrics.cs index 88d2706a..0cbd99cc 100644 --- a/src/slskd/Telemetry/Metrics.cs +++ b/src/slskd/Telemetry/Metrics.cs @@ -279,6 +279,8 @@ public static class Metrics /// </summary> public static Counter Completed { get; } = Prometheus.Metrics.CreateCounter("slskd_transfers_uploads_completed", "Total number of uploads completed successfully"); + // todo: should this be succeeded? should we totalize? probably not + /// <summary> /// Gets a counter representing the total number of uploads that failed. /// </summary> @@ -299,10 +301,14 @@ public static class Metrics /// </summary> public static Gauge CurrentSpeed { get; } = Prometheus.Metrics.CreateGauge("slskd_transfers_uploads_speed_current", "Current aggregate upload speed, in bytes per second"); + // todo: this ^ is probably not sufficient for an aggregated field + /// <summary> /// Gets a gauge representing the current number of uploads waiting to be started. /// </summary> public static Gauge CurrentQueueDepth { get; } = Prometheus.Metrics.CreateGauge("slskd_transfers_uploads_queue_depth_current", "Current number of uploads waiting to be started"); + + // todo: should we have a gauge for queued bytes, too? } /// <summary> |
