@Test public void testStatus() { Assertions.assertEquals(Tag.of("status", "200"), VertxMetricsTags.status(200)); Assertions.assertEquals(Tag.of("status", "301"), VertxMetricsTags.status(301)); Assertions.assertEquals(Tag.of("status", "304"), VertxMetricsTags.status(304)); Assertions.assertEquals(Tag.of("status", "404"), VertxMetricsTags.status(404)); }
public static Tag status(int statusCode) { return (statusCode > 0) ? Tag.of("status", Integer.toString(statusCode)) : STATUS_UNKNOWN; }
VertxMetricsTags { public static Tag status(int statusCode) { return (statusCode > 0) ? Tag.of("status", Integer.toString(statusCode)) : STATUS_UNKNOWN; } }
VertxMetricsTags { public static Tag status(int statusCode) { return (statusCode > 0) ? Tag.of("status", Integer.toString(statusCode)) : STATUS_UNKNOWN; }  }
VertxMetricsTags { public static Tag status(int statusCode) { return (statusCode > 0) ? Tag.of("status", Integer.toString(statusCode)) : STATUS_UNKNOWN; }  static Tag method(HttpMethod method); static Tag status(int statusCode); static Tag outcome(HttpServerResponse response); static Tag outcome(HttpClientResponse response); static Tag uri(String pathInfo, int code); }
VertxMetricsTags { public static Tag status(int statusCode) { return (statusCode > 0) ? Tag.of("status", Integer.toString(statusCode)) : STATUS_UNKNOWN; }  static Tag method(HttpMethod method); static Tag status(int statusCode); static Tag outcome(HttpServerResponse response); static Tag outcome(HttpClientResponse response); static Tag uri(String pathInfo, int code);  }