mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 14:11:23 -04:00
Document that prometheus transfer metrics are in KB
This commit is contained in:
parent
c5da3c42e9
commit
b3b0d3b5dd
1 changed files with 2 additions and 2 deletions
|
@ -28,12 +28,12 @@ func NewMetrics() *Metrics {
|
||||||
totalInBoundTraffic: prometheus.NewCounter(prometheus.CounterOpts{
|
totalInBoundTraffic: prometheus.NewCounter(prometheus.CounterOpts{
|
||||||
Namespace: metricNamespace,
|
Namespace: metricNamespace,
|
||||||
Name: "traffic_inbound_bytes_total",
|
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{
|
totalOutBoundTraffic: prometheus.NewCounter(prometheus.CounterOpts{
|
||||||
Namespace: metricNamespace,
|
Namespace: metricNamespace,
|
||||||
Name: "traffic_outbound_bytes_total",
|
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)",
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue