summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCecylia Bocovich <cohosh@torproject.org>2023-11-02 15:42:31 -0400
committerCecylia Bocovich <cohosh@torproject.org>2023-11-20 10:40:34 -0500
commitb3b0d3b5dddcf8e394374f8e0a165e2e801898d2 (patch)
tree8936af56809a190ed4bccc414efccb4abe12dc54
parentc5da3c42e971b2f27ea35187f22d2cfd5531520d (diff)
downloadsnowflake-b3b0d3b5dddcf8e394374f8e0a165e2e801898d2.tar.gz
snowflake-b3b0d3b5dddcf8e394374f8e0a165e2e801898d2.zip
Document that prometheus transfer metrics are in KB
-rw-r--r--proxy/lib/metrics.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/lib/metrics.go b/proxy/lib/metrics.go
index adae459..0cd0824 100644
--- a/proxy/lib/metrics.go
+++ b/proxy/lib/metrics.go
@@ -28,12 +28,12 @@ func NewMetrics() *Metrics {
totalInBoundTraffic: prometheus.NewCounter(prometheus.CounterOpts{
Namespace: metricNamespace,
Name: "traffic_inbound_bytes_total",
- Help: "The total in bound traffic by the snowflake proxy",
+ Help: "The total in bound traffic by the snowflake proxy (KB)",
}),
totalOutBoundTraffic: prometheus.NewCounter(prometheus.CounterOpts{
Namespace: metricNamespace,
Name: "traffic_outbound_bytes_total",
- Help: "The total out bound traffic by the snowflake proxy ",
+ Help: "The total out bound traffic by the snowflake proxy (KB)",
}),
}
}