class LavinMQ::HTTP::PrometheusController

Defined in:

lavinmq/http/controller/prometheus.cr

Constant Summary

Log = LavinMQ::Log.for("http.prometheus")
SERVER_METRICS = {:connection_created, :connection_closed, :channel_created, :channel_closed, :queue_declared, :queue_deleted, :consumer_added, :consumer_removed}

Instance methods inherited from class LavinMQ::HTTP::Controller

vhosts(user : User) vhosts

Constructor methods inherited from class LavinMQ::HTTP::Controller

new(amqp_server : LavinMQ::Server) new

Instance methods inherited from module LavinMQ::HTTP::Router

call(context) call, delete(path : String, &block : Action) delete, find_route(method, path) find_route, get(path : String, &block : Action) get, head(path : String, &block : Action) head, options(path : String, &block : Action) options, patch(path : String, &block : Action) patch, post(path : String, &block : Action) post, put(path : String, &block : Action) put