aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-07 10:43:22 +0200
committerLoïc Hoguin <[email protected]>2019-10-07 10:43:22 +0200
commit0342866c2e3490f2f9ef98ea9c8cefb405222818 (patch)
treea0f378569c1b50c00f12864228445f91c083e44c /src
parenteaed06370287c9708d2bf359dd1c2da1d392364c (diff)
downloadcowboy-0342866c2e3490f2f9ef98ea9c8cefb405222818.tar.gz
cowboy-0342866c2e3490f2f9ef98ea9c8cefb405222818.tar.bz2
cowboy-0342866c2e3490f2f9ef98ea9c8cefb405222818.zip
Document cowboy_tracer_h
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_http.erl1
-rw-r--r--src/cowboy_http2.erl1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index 4a9808f..baedc1c 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -53,6 +53,7 @@
shutdown_timeout => timeout(),
stream_handlers => [module()],
tracer_callback => cowboy_tracer_h:tracer_callback(),
+ tracer_flags => [atom()],
tracer_match_specs => cowboy_tracer_h:tracer_match_specs(),
%% Open ended because configured stream handlers might add options.
_ => _
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl
index f85b78c..66f129e 100644
--- a/src/cowboy_http2.erl
+++ b/src/cowboy_http2.erl
@@ -64,6 +64,7 @@
stream_window_margin_size => 0..16#7fffffff,
stream_window_update_threshold => 0..16#7fffffff,
tracer_callback => cowboy_tracer_h:tracer_callback(),
+ tracer_flags => [atom()],
tracer_match_specs => cowboy_tracer_h:tracer_match_specs(),
%% Open ended because configured stream handlers might add options.
_ => _