mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-22 12:46:36 +00:00
removed mstosec func
Signed-off-by: Andrey Burtasov <BurtasovAA@GSP-I.RU>
This commit is contained in:
@@ -208,8 +208,3 @@ func (c *collector) toLabelName(name string) string {
|
|||||||
s = strings.ReplaceAll(s, "__", "_")
|
s = strings.ReplaceAll(s, "__", "_")
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
// msToSec converts from ms to seconds
|
|
||||||
func (c *collector) msToSec(t float64) float64 {
|
|
||||||
return t / 1000
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user