Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-04 | Improve some early_error tests | Loïc Hoguin | |
2019-10-03 | Make stream_error early_error reasons consistent | Loïc Hoguin | |
Now both HTTP/1.1 and HTTP/2 follow the documented format. HTTP/1.1 was including an extra element containing the StreamID before, which was unnecessary because it is also given as argument to the callback. HTTP/2 early_error will now include headers in its PartialReq. | |||
2019-10-02 | Add {set_options, #{metrics_user_data := Map}} | Loïc Hoguin | |
This allows giving custom metadata to the metrics stream handler. This can be useful to for example provide the name of the module handling the request which is only known after routing. But any user data is allowed. When called multiple times the user data maps are merged. | |||
2018-10-31 | Handle error_response command in cowboy_metrics_h | Grigory Starinkin | |
2018-06-26 | Fix tests for most recent Gun | Loïc Hoguin | |
2017-11-29 | Add nowarn_export_all to all test suites | Loïc Hoguin | |
2017-11-20 | Add a test for early errors that occur on the request-line | Loïc Hoguin | |
2017-10-31 | Add informational responses to metrics | Loïc Hoguin | |
2017-10-22 | Add a metrics test for switching to Websocket | Loïc Hoguin | |
2017-10-21 | Add a test for stream_reply metrics | Loïc Hoguin | |
2017-10-21 | Add a test for early_error metrics | Loïc Hoguin | |
2017-10-21 | Add a metrics test when the handler didn't send anything | Loïc Hoguin | |
Also fix a test group to use h2 instead of HTTP/1.1. | |||
2017-10-20 | Add a test for metrics with a request body | Loïc Hoguin | |
2017-10-20 | Add experimental metrics stream handler | Loïc Hoguin | |
It collects metrics and passes them to a configurable callback once the stream terminates. It will be documented in a future release. More tests incoming. |