Skip to content

Commit

Permalink
Fix error in daily runs
Browse files Browse the repository at this point in the history
See quarkusio/quarkus#30343 for details
  • Loading branch information
fedinskiy committed Jan 13, 2023
1 parent f731da1 commit c84d433
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ public class HttpServerMetricsIT {
private static final int ASSERT_METRICS_TIMEOUT_MINUTES = 1;
private static final List<String> HTTP_SERVER_REQUESTS_METRICS_SUFFIX = Arrays.asList("count", "sum", "max");

private static final String HTTP_SERVER_REQUESTS_METRICS_FORMAT = "http_server_requests_seconds_%s{method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"%s\",}";
/*
* In versions before 2.16 metrics have format '{a,b,}' (with trailing comma)
* Starting from 2.16 the format changed to '{a,b}'
* See https://github.com/quarkusio/quarkus/issues/30343 for details
* TODO: add '}' to the end, when this stabilizes
*/
private static final String HTTP_SERVER_REQUESTS_METRICS_FORMAT = "http_server_requests_seconds_%s{method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"%s\"";
private static final String PING_PONG_ENDPOINT = "/without-metrics-pingpong";

@Test
Expand Down

0 comments on commit c84d433

Please sign in to comment.