Sample Prometheus queries

From Genesys Documentation
Jump to: navigation, search


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

Comments or questions about this documentation? Contact us for support!