class Main {

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


        JvmMetrics.builder().register();

        Histogram requestDuration = Histogram.builder()
                .name("request_duration_seconds")
                .help("request duration in seconds")
                .unit(Unit.SECONDS)
                .register();

        Histogram requestSize = Histogram.builder()
                .name("request_size_bytes")
                .help("request size in bytes")
                .unit(Unit.BYTES)
                .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);
            double size = random.nextInt(1000) + 256;
            requestDuration.observe(duration);
            requestSize.observe(size);
            Thread.sleep(1000);
        }
    
<no_super_class>