From 44ac2a2fecf69069c28b537c5392ef33c8fe0886 Mon Sep 17 00:00:00 2001 From: Pawel Pikula Date: Fri, 7 Aug 2015 10:29:11 +0200 Subject: [PATCH] set default reporting rate to 60s --- apps/ejabberd/src/mongoose_metrics.erl | 2 +- rel/files/app.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ejabberd/src/mongoose_metrics.erl b/apps/ejabberd/src/mongoose_metrics.erl index 906e400965a..84db8a9ddc4 100644 --- a/apps/ejabberd/src/mongoose_metrics.erl +++ b/apps/ejabberd/src/mongoose_metrics.erl @@ -50,7 +50,7 @@ init() -> Reporters = exometer_report:list_reporters(), lists:foreach( fun({Name, _ReporterPid}) -> - Interval = application:get_env(exometer, mongooseim_interval, 5000), + Interval = application:get_env(exometer, mongooseim_report_interval, 60000), subscribe_to_all(Name, Interval) end, Reporters). diff --git a/rel/files/app.config b/rel/files/app.config index 580d3791eb3..402a576c4f8 100644 --- a/rel/files/app.config +++ b/rel/files/app.config @@ -7,7 +7,7 @@ ]} ]} %{exometer, [ -% {mongooseim_interval, 6000}, +% {mongooseim_report_interval, 60000}, %% 60 seconds % {report, [ % {reporters, [ % {exometer_report_graphite, [