Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 570 Bytes

prometheus.md

File metadata and controls

20 lines (11 loc) · 570 Bytes

Running a query in Kubecost bundled Prometheus

1. Connect to Prometheus

Here is an example command to connect if you've installed Kubecost in the kubecost namespace:

kubectl port-forward -n kubecost service/kubecost-prometheus-server 9003:80

2. Visit Prometheus UI

View http://localhost:9003/ in your web browswer. You should be presented with a UI that looks like the following:

If you're unable to connect, confirm that the Prometheus server pod is in a Running state.

3. Input your desired query + Execute