# Metric Aggregator

Metric Aggregator uses Prometheus as the metric aggregator to scrape and store metrics from annotated pods. The Prometheus server is pre-configured to discover and scrape metrics from pods with the specified annotations. Below are the steps to access and query metrics:

### &#x20;1. Access Prometheus UI&#x20;

Open the Prometheus web interface using the provided URL and provided credentials.

* Check target status at `status -> Targets`
* Verify that the pod is listed and the status is "UP".

### 2. Explore Metrics

Use the "Graph" tab to enter PromQL queries and visualize metrics.

* PromQL query example:

```yaml
vllm:gpu_cache_usage_perc{job="prod-cluster-1", model_name="meta-llama/Llama-3.2-3B- Instruct"}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.cloudeka.ai/guidance-for-individual/deka-gpu/deka-gpu-metric-collection/metric-aggregator.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.
