diff --git a/handlers.go b/handlers.go index 51f2855..c8eedb4 100644 --- a/handlers.go +++ b/handlers.go @@ -431,7 +431,7 @@ func metricsHandler(c echo.Context) error { metrics += fmt.Sprintf("rosti_node_sold_memory{hostname=\"%s\"} %d\n", hostname, node.SoldMemory) if elapsedMetric != -1 { - metrics += fmt.Sprintf("rosti_node_stats_time_elapsed{hostname=\"%s\"} %d\n", hostname, elapsedMetric) + metrics += fmt.Sprintf("rosti_node_stats_time_elapsed{hostname=\"%s\"} %d\n", hostname, elapsedMetric/1000000000) } apps, err := processor.List(true)