Executing Queries in Prometheus
If you want to execute a query from Prometheus for an attribute of a Universal Messaging server, you specify a query with the following syntax in the query field:
AttributeName{parameter1="value1", parameter2="value2"}
For example, you can execute the following queries:
- To get the total number of published events on the already existing topic "t1", type
sag_um_topic_published_total{name="destinationName=t1"}
- To check for threads that are in a blocked state, type
jvm_threads_state{state="BLOCKED"}