mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Document cowboy_metrics_h
This commit is contained in:
parent
3977f2b96f
commit
eaed063702
6 changed files with 172 additions and 2 deletions
|
@ -44,6 +44,8 @@
|
|||
max_method_length => non_neg_integer(),
|
||||
max_request_line_length => non_neg_integer(),
|
||||
metrics_callback => cowboy_metrics_h:metrics_callback(),
|
||||
metrics_req_filter => fun((cowboy_req:req()) -> map()),
|
||||
metrics_resp_headers_filter => fun((cowboy:http_headers()) -> cowboy:http_headers()),
|
||||
middlewares => [module()],
|
||||
proxy_header => boolean(),
|
||||
request_timeout => timeout(),
|
||||
|
|
|
@ -51,6 +51,8 @@
|
|||
max_stream_buffer_size => non_neg_integer(),
|
||||
max_stream_window_size => 0..16#7fffffff,
|
||||
metrics_callback => cowboy_metrics_h:metrics_callback(),
|
||||
metrics_req_filter => fun((cowboy_req:req()) -> map()),
|
||||
metrics_resp_headers_filter => fun((cowboy:http_headers()) -> cowboy:http_headers()),
|
||||
middlewares => [module()],
|
||||
preface_timeout => timeout(),
|
||||
proxy_header => boolean(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue