Class HTTPServer

Object
HTTPServer
All Implemented Interfaces:
Closeable, AutoCloseable

public class HTTPServer extends Object implements Closeable
Expose Prometheus metrics using a plain Java HttpServer.

Example Usage:


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