mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
![]() They are global for the node for all future call trace flags, so it's not necessary to set them repeatedly with every request. Doing it once at startup also ensures we can't have race conditions when the user wants to change which trace patterns should be used (because requests are concurrent and patterns end up overwriting themselves repeatedly), and makes this changing of trace patterns much more straightforward: the user can just define the ones they want. The default function traces everything. In addition I have also added the tracer_flags option to make the trace flags configurable, excluding the tracer pid. |
||
---|---|---|
.. | ||
handlers | ||
http_SUITE_data | ||
static_handler_SUITE_data | ||
ws_SUITE_data | ||
compress_SUITE.erl | ||
cover.spec | ||
cowboy_ct_hook.erl | ||
cowboy_test.erl | ||
examples_SUITE.erl | ||
h2spec_SUITE.erl | ||
http2_SUITE.erl | ||
http_SUITE.erl | ||
loop_handler_SUITE.erl | ||
metrics_SUITE.erl | ||
misc_SUITE.erl | ||
req_SUITE.erl | ||
rest_handler_SUITE.erl | ||
rfc7230_SUITE.erl | ||
rfc7540_SUITE.erl | ||
static_handler_SUITE.erl | ||
stream_handler_SUITE.erl | ||
tracer_SUITE.erl | ||
ws_SUITE.erl |