Once Prometheus is configured to connect to and scrape Universal Messaging server, you can use “NoOfEvents_<topic>” query to get the number of events for a topic/queue, for example “NoOfEvents_mytopic” should give you the current number of events for “mytopic” channel - similar to what the as seen in “Event Store” section of the channel status in Enterprise Manager.