> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentkube.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring

Agentkube provides comprehensive Kubernetes resource monitoring capabilities through integration with the kube-prometheus-stack. Monitor your cluster's health, performance metrics, and resource utilization in real-time.

<Frame caption="Monitoring overview dashboard">
  <img src="https://mintcdn.com/agentkube/-DF9RBTU9--znb3g/images/monitor-overiew.png?fit=max&auto=format&n=-DF9RBTU9--znb3g&q=85&s=f0b8c958b163b9b06648e7d42d03e1c2" alt="Monitoring dashboard showing cluster metrics and performance data" width="1920" height="1080" data-path="images/monitor-overiew.png" />
</Frame>

## Prerequisites

Monitoring in Agentkube currently requires the **kube-prometheus-stack** to be installed in your cluster. This stack provides Prometheus for metrics collection and Grafana for visualization.

<Note>
  Support for other observability providers is planned for future releases.
</Note>

## Configuration

To enable monitoring in Agentkube, you need to configure the Prometheus service connection:

### Setting up Prometheus Connection

1. **Open Monitoring Page** - Navigate to the Monitoring section in Agentkube
2. **Access Settings** - Click the settings icon in the top right corner of the monitoring page
3. **Configure Prometheus** - Provide the following required information:
   * **Prometheus Service Address**: The URL endpoint of your Prometheus service
   * **Namespace**: The Kubernetes namespace where Prometheus is deployed

<Note>
  Make sure your Prometheus service is accessible from Agentkube and that the service address is correctly formatted (e.g., `prometheus-server:9090`).
</Note>

<Frame caption="Resource monitoring interface">
  <img src="https://mintcdn.com/agentkube/PDUFmEn9vEfIVdvP/images/monitoring.png?fit=max&auto=format&n=PDUFmEn9vEfIVdvP&q=85&s=41b97f5f8c9337591c25eb9741904047" alt="Resource monitoring interface displaying detailed metrics and analytics" width="1920" height="1080" data-path="images/monitoring.png" />
</Frame>
