aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-10 11:14:14 +0200
committerAnders Svensson <[email protected]>2017-08-10 13:50:26 +0200
commiteb5fa7e2a0f67924828ea3d81891b86d08a53b0c (patch)
treed2e90e9c3dc613d8390ce23abf7263cb3558c00f /lib/diameter/src/base/diameter.erl
parent2be3e00698dea8236e60f3262c50b37eebfb4a04 (diff)
downloadotp-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.erl')
-rw-r--r--lib/diameter/src/base/diameter.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl
index c919ff4c93..2e18a1d903 100644
--- a/lib/diameter/src/base/diameter.erl
+++ b/lib/diameter/src/base/diameter.erl
@@ -353,6 +353,7 @@ call(SvcName, App, Message) ->
| {sequence, sequence() | evaluable()}
| {share_peers, remotes()}
| {decode_format, decode_format()}
+ | {traffic_counters, boolean()}
| {string_decode, boolean()}
| {strict_arities, true | strict_arities()}
| {strict_mbit, boolean()}