Once instantiated with the set of callbacks that collect stats for given
stats and labels, the callbacks will be called for every incoming prometheus
request, and the accumulated stats will be appended to the response message.
Derives from SelectListener with four generic parameters, the last three
of which are used to instantiate the handler used by this listener.
class PrometheusListener : SelectListener!(PrometheusHandler, CollectorRegistry, EpollSelectDispatcher, size_t) {
A listener for Prometheus' stat scrape.
Once instantiated with the set of callbacks that collect stats for given stats and labels, the callbacks will be called for every incoming prometheus request, and the accumulated stats will be appended to the response message.
Derives from SelectListener with four generic parameters, the last three of which are used to instantiate the handler used by this listener.