Sample Prometheus queries

From Genesys Documentation
Jump to: navigation, search
This topic is part of the manual Operations for version Current of Genesys Multicloud CX Private Edition.


Sample Prometheus queries to collect metrics.

Here are some sample Prometheus queries to collect metrics. The result of each query in Prometheus can either be shown as a graph or viewed as console output.

Query1: kubelet_http_requests_total

Output:

GraphPromQuery1.pngConsole:PromQuery1C.png

Query 2: sum(irate(sipproxy_requests_processed_self_total{pod=~"voice-sipproxy-0"}[5m])) by (pod,method)

Output

Graph:

Q2graph.png

Console:

Q2console.pngQuery 3: node_cpu_utilisation:avg1m

Output

Graph:

Q3graph.png

Console:

Q3console.png