removed mstosec func

Signed-off-by: Andrey Burtasov <BurtasovAA@GSP-I.RU>
This commit is contained in:
Andrey Burtasov
2023-11-16 16:36:06 +03:00
parent 39686130c6
commit 9922f1265a

View File

@@ -208,8 +208,3 @@ func (c *collector) toLabelName(name string) string {
s = strings.ReplaceAll(s, "__", "_")
return s
}
// msToSec converts from ms to seconds
func (c *collector) msToSec(t float64) float64 {
return t / 1000
}