Document that prometheus transfer metrics are in KB

This commit is contained in:
Cecylia Bocovich 2023-11-02 15:42:31 -04:00
parent c5da3c42e9
commit b3b0d3b5dd
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90

View file

@ -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)",
}), }),
} }
} }