Skip to content

Commit

Permalink
Merge pull request #41 from esl/fix_predefined_metrics
Browse files Browse the repository at this point in the history
Fix predefined metrics
  • Loading branch information
chrzaszcz authored Dec 18, 2024
2 parents b444897 + 4b1547f commit dbc84c9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
]}.

{ deps, [
{amoc_arsenal, {git, "https://github.com/esl/amoc-arsenal.git", {branch, "main"}}},
{amoc_arsenal, {git, "https://github.com/esl/amoc-arsenal.git", {branch, "stable"}}},
{escalus, "4.2.16"},
{jiffy, "1.1.2"},
{fusco, "0.1.1"}
Expand Down
2 changes: 1 addition & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[{<<"amoc">>,{pkg,<<"amoc">>,<<"3.3.0">>},1},
{<<"amoc_arsenal">>,
{git,"https://github.com/esl/amoc-arsenal.git",
{ref,"b6dc37c3c7b8ad439c87483939c91f784fd51d50"}},
{ref,"a0a4115f8595e20f4b454b67f66beca60580aafd"}},
0},
{<<"amoc_rest">>,
{git,"https://github.com/esl/amoc_rest.git",
Expand Down
12 changes: 8 additions & 4 deletions rel/app.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
%% -*-erlang-*-

[
{kernel, [
{logger,
Expand All @@ -13,6 +12,11 @@
formatter => {logger_formatter, #{template => [time, " [", level, "] ", msg, "\n"]}}
}}
]}]},
{ssl, [{session_cb, amoc_always_null_ssl_session_cache}]}
] .

{ssl, [{session_cb, amoc_always_null_ssl_session_cache}]},
{amoc_arsenal,
[{predefined_metrics, [{times, connection},
{counters, connections},
{counters, connection_retries},
{counters, connection_failures}]}
]}
].

0 comments on commit dbc84c9

Please sign in to comment.