# 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="/files/2uc761TB7stJqvIDNB24" 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="/files/XrHqyqbVEYM7tuANFMiY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.k8studio.io/documentation/metrics/workload-metrics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
