client_java icon indicating copy to clipboard operation
client_java copied to clipboard

Implement filtering of async requests.

Open lapo-luchini opened this issue 4 years ago • 0 comments

This fixes #676 for me… but there are no tests as I have no idea how to properly test an async servlet responses with Mockito.

Doesn't break any of the existing tests, though:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running io.prometheus.client.exporter.MetricsServletTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.548 sec - in io.prometheus.client.
exporter.MetricsServletTest
Running io.prometheus.client.filter.MetricsFilterTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.232 sec - in io.prometheus.client.
filter.MetricsFilterTest

Results :

Tests run: 11, Failures: 0, Errors: 0, Skipped: 0

lapo-luchini avatar Sep 07 '21 08:09 lapo-luchini