# Enabling In Cluster Monitoring

There are two options to enable Monitoring on Platform9 Kubernetes.

1. During Cluster Creation
2. Post Cluster Creation

### Enable Monitoring During Cluster Creation

During the create a new cluster wizard an option will be presented to enable a number of Platform9 Kubernetes Addons, Monitoring is one of these Addons. To ensure Monitoring is enabled leave the “Promethues Monitoring” toggle enabled.

Once the cluster has been deployed Platform9 will automatically deploy Monitoring by creating a new `Namspance` ‘pf9-monitoring’ and leverage a Kubernetes operator to deploy Prometheus, Alertmanager and Grafana.

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

If you uncheck the “Promethues Monitoring” toggle a warning will display informing you that monitoring will be disabled on this cluster. If monitoring is disabled the Platform9 Monitoring features will not function and the Monitoring dashboards will not populate with any data.

### Enable Monitoring Post Cluster Creation

Monitoring may be enabled on any cluster at anytime directly from the Clusters tab on the Infrastructure page. To enable Monitoring select the target cluster and choose the Add-ons section tab and then click on the Edit Add-ons button.

To enable Monitoring, click on the Enable button for the Promethues Monitoring add-on.

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

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

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

Provide the required and optional details to configure the add-on. If the Promethues data needs to stored on a persistent storage, provide the Storage Class Name and PVC option details. If you require to use an existing PV for storing the Promethues data, provide the name for the PV.


---

# 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.platform9.com/managed-kubernetes/5.9/enabling-in-cluster-monitoring.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.
