diff options
author | Anders Svensson <[email protected]> | 2017-08-10 11:14:14 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-10 13:50:26 +0200 |
commit | eb5fa7e2a0f67924828ea3d81891b86d08a53b0c (patch) | |
tree | d2e90e9c3dc613d8390ce23abf7263cb3558c00f /lib/diameter/src/base/diameter_config.erl | |
parent | 2be3e00698dea8236e60f3262c50b37eebfb4a04 (diff) | |
download | otp-eb5fa7e2a0f67924828ea3d81891b86d08a53b0c.tar.gz otp-eb5fa7e2a0f67924828ea3d81891b86d08a53b0c.tar.bz2 otp-eb5fa7e2a0f67924828ea3d81891b86d08a53b0c.zip |
Add service_opt() traffic_counters
To be able to disable the counting of messages for which application
callbacks take place. Messages sent/handled by diameter itself are
always counted.
Diffstat (limited to 'lib/diameter/src/base/diameter_config.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_config.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl index 2b069f40cc..f1b6e56782 100644 --- a/lib/diameter/src/base/diameter_config.erl +++ b/lib/diameter/src/base/diameter_config.erl @@ -715,6 +715,7 @@ make_config(SvcName, Opts) -> {true, strict_arities}, {true, strict_mbit}, {record, decode_format}, + {true, traffic_counters}, {true, string_decode}, {[], spawn_opt}]), @@ -760,6 +761,7 @@ opt(K, false = B) K == strict_arities; K == strict_mbit; K == decode_format; + K == traffic_counters; K == string_decode -> B; @@ -768,6 +770,7 @@ opt(K, true = B) K == use_shared_peers; K == strict_arities; K == strict_mbit; + K == traffic_counters; K == string_decode -> B; |