aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/openmetrics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/openmetrics.lua b/util/openmetrics.lua
index 299b36c7..90d3fdc2 100644
--- a/util/openmetrics.lua
+++ b/util/openmetrics.lua
@@ -58,7 +58,7 @@ local function render_histogram_le(v)
return "+Inf"
end
- return string.format("%g", v)
+ return string.format("%.14g", v)
end
-- BEGIN of generic MetricFamily implementation