Running a Query in Kubecost-bundled Prometheus
Step 1: Connect to Prometheus
Here is an example command to connect if you've installed Kubecost in the kubecost namespace:
Step 2: Visit Prometheus UI
View http://localhost:9003/
in your web browser. You should be presented with a UI that looks like the following:
![](https://docs.kubecost.com/~gitbook/image?url=https%3A%2F%2F1804196253-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiPW99yDnU7U1FFgLgPOZ%252Fuploads%252Fgit-blob-255c054bc9e9fa256eb49592b059f492d80efebc%252Fprom-ui.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=724f4370&sv=1)
If you're unable to connect, confirm that the Prometheus server pod is in a Running
state.
Step 3: Input your desired query and execute
Last updated