Skip to content

Commit

Permalink
set default reporting rate to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel Pikula committed Aug 7, 2015
1 parent 0f481e3 commit 44ac2a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/ejabberd/src/mongoose_metrics.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion rel/files/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
]}
]}
%{exometer, [
% {mongooseim_interval, 6000},
% {mongooseim_report_interval, 60000}, %% 60 seconds
% {report, [
% {reporters, [
% {exometer_report_graphite, [
Expand Down

0 comments on commit 44ac2a2

Please sign in to comment.