class Main {

    public static void main(String[] args) throws IOException, InterruptedException {<FILL_FUNCTION_BODY>}
}


        JvmMetrics.builder().register();

        Histogram histogram = Histogram.builder()
                .name("request_latency_seconds")
                .help("request latency in seconds")
                .unit(Unit.SECONDS)
                .labelNames("path", "status")
                .register();

        HTTPServer server = HTTPServer.builder()
                .port(9400)
                .buildAndStart();

        System.out.println("HTTPServer listening on port http://localhost:" + server.getPort() + "/metrics");

        Random random = new Random(0);

        while (true) {
            double duration = Math.abs(random.nextGaussian() / 10.0 + 0.2);
            String status =  random.nextInt(100) < 20 ? "500" : "200";
            histogram.labelValues("/", status).observe(duration);
            Thread.sleep(1000);
        }
    
<no_super_class>