# Prometheus & Grafana

Prometheus and Grafana provide powerful [system health](/platform/platform-services/monitoring-and-reporting/system-health.md) monitoring tools along with visualisation. Both tools are required to be installed **only once** on the cluster as metrics from across namespaces are collected and displayed.

Deploy the same using Rancher's admin console:

1. Login into the Rancher admin console
2. Select your cluster
3. Install Monitoring app

<figure><img src="/files/CUk6zEQnRpQPZ6UqyqKX" alt=""><figcaption></figcaption></figure>

4. After installation, click on the *Monitoring* menu on the left to reach the below page. Click on *Prometheus Targets* and make sure all scrape URLs have the status "Up". If not, check if the ports indicated on the URL are accessible across nodes. For information on ports to be opened on nodes refer [Firewall Requirements](/operations/deployment/scaling/base-infrastructure/openg2p-cluster/cluster-setup.md#firewall-requirements).

<figure><img src="/files/4ytXKV8MgzmcgU2bNu5L" 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://docs.openg2p.org/operations/deployment/scaling/base-infrastructure/openg2p-cluster/prometheus-and-grafana.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.
