> For the complete documentation index, see [llms.txt](https://doc.k8studio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.k8studio.io/documentation/metrics/workload-metrics.md). Agents can also search and read this documentation through its [MCP server](https://doc.k8studio.io/~gitbook/mcp).

# Workload Metrics

To enable workload metrics in K8Studio, Prometheus must be installed on the cluster.&#x20;

Once Prometheus is installed, we need to configure K8Studio to recognize the service port and namespace that provides the Prometheus data. This is done by opening the cluster settings and selecting the "Metric Services" option.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2Fhf9aWwIA1PmwQSu08bcP%2FWorkloadMetrics.png?alt=media&amp;token=667a0632-2c20-4c0e-9d4c-cc470bb64633" alt=""><figcaption></figcaption></figure>

\
To view the Prometheus metrics, select any workload or pod, then navigate to the side editor and choose the "Metric" tab.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FlkHbBmWqN0oijlwFU8w6%2FMetrics.png?alt=media&amp;token=110e20ae-a1b5-4adf-8391-b1613a4803a1" alt=""><figcaption></figcaption></figure>
