From bf8286ac5bef35a7e439252aaff447f4a5144f34 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Thu, 4 Feb 2021 08:59:29 +0200 Subject: [PATCH] stats: stats-service-openmetrics - Use PRIdTIME_T for startup time --- src/stats/stats-service-openmetrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats/stats-service-openmetrics.c b/src/stats/stats-service-openmetrics.c index f195bdb389..56c35dd022 100644 --- a/src/stats/stats-service-openmetrics.c +++ b/src/stats/stats-service-openmetrics.c @@ -100,7 +100,7 @@ static void openmetrics_export_dovecot(string_t *out) str_append(out, "# HELP process_start_time_seconds " "Timestamp of service start\n"); str_append(out, "# TYPE process_start_time_seconds gauge\n"); - str_printfa(out, "process_start_time_seconds %"PRIu64"\n", + str_printfa(out, "process_start_time_seconds %"PRIdTIME_T"\n", stats_startup_time); str_append(out, "# HELP dovecot_build " -- 2.47.3