Class VulkanMetricsHandler
java.lang.Object
com.io7m.jcoronado.utility.prometheus.internal.VulkanMetricsHandler
- All Implemented Interfaces:
io.helidon.webserver.http.Handler, io.helidon.webserver.ServerLifecycle
The metrics handler.
The handler holds a registry with two long-lived collectors, one for
instances and one for logical devices. Each collector is registered once and,
on every scrape, reads the current set of live instances/devices and emits
one labeled data point per item. Items that have been closed are pruned from
the lists, so they simply stop being reported.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(io.helidon.webserver.http.ServerRequest request, io.helidon.webserver.http.ServerResponse response) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart, afterStop, beforeStart
-
Constructor Details
-
VulkanMetricsHandler
public VulkanMetricsHandler()The metrics handler.
-
-
Method Details
-
handle
-