eclipse / microprofile-telemetry

microprofile telemetry
Apache License 2.0
19 stars 18 forks source link

Tail -f the log rather than wait than read #222

Closed benjamin-confino closed 4 months ago

benjamin-confino commented 4 months ago

We received reports that the timeout for the JVM tests was too low, so I rewrote the MetricsReader class. Now it uses commons-io to follow the log close to live (polling once a second) and stops when it finds the right metrics. As a result we can safely increase the maximum timeout significantly.