---
title: Prometheus, Grafana, and Alert Manager
description: This page describes the legacy CDM implementation, which will be deprecated in an upcoming release. We strongly recommend that you transition to the current CDM implementation as soon as possible.
component: forgeops
version: 7.2
page_id: forgeops::legacy/cdm/aks/setup/prometheus
canonical_url: https://docs.pingidentity.com/forgeops/7.2/legacy/cdm/aks/setup/prometheus.html
section_ids:
  next_step: Next step
---

# Prometheus, Grafana, and Alert Manager

|   |                                                                                                                                                                                                                                       |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | This page describes the legacy CDM implementation, which will be deprecated in an upcoming release. We strongly recommend that you transition to [the current CDM implementation](../../../../cdm/overview.html) as soon as possible. |

Use Prometheus, Grafana, and Alertmanager when you deploy the CDM.

After you've finished deploying the CDM, you can use the CDM as a sandbox to explore deployment with a different monitoring and alerting framework.

Remember, [the CDM is a reference implementation and not for production use](../../../../start/start-here.html#cdm-sandbox). When you [create a project plan](../../../../start/start-here.html#planning), you'll need to determine how to monitor and send alerts in your production deployment.

To deploy Prometheus, Grafana, and Alertmanager:

1. Deploy Prometheus, Grafana, and Alertmanager in your cluster:

   ```
   $ /path/to/forgeops/bin/prometheus-deploy.sh

   This script requires Helm version 3.04 or later due to changes in the behaviour of 'helm repo add' command.

   namespace/monitoring created
   "stable" has been added to your repositories
   "prometheus-community" has been added to your repositories
   . . .
   Update Complete. ⎈Happy Helming!⎈
   Release "prometheus-operator" does not exist. Installing it now.
   NAME: prometheus-operator
   LAST DEPLOYED: . . .
   NAMESPACE: monitoring
   STATUS: deployed
   REVISION: 1
   . . .
   pod/prometheus-operator-prometheus-node-exporter-lj6qb condition met
   pod/prometheus-operator-prometheus-node-exporter-tblbz condition met
   pod/prometheus-prometheus-operator-kube-p-prometheus-0 condition met
   Release "forgerock-metrics" does not exist. Installing it now.
   NAME: forgerock-metrics
   LAST DEPLOYED: . . .
   NAMESPACE: monitoring
   STATUS: deployed
   REVISION: 1
   TEST SUITE: None
   ```

2. Check the status of the pods in the `monitoring` namespace until all the pods are ready:

   ```
   $ kubectl get pods --namespace monitoring
   NAME                                                      READY   STATUS    RESTARTS   AGE
   alertmanager-prometheus-operator-kube-p-alertmanager-0    2/2     Running   0          5m33s
   prometheus-operator-grafana-76985fcf94-gm557              2/2     Running   0          5m39s
   prometheus-operator-kube-p-operator-7884fb6cf7-7vtkt      1/1     Running   0          5m39s
   prometheus-operator-kube-state-metrics-847485d6bb-jgkk9   1/1     Running   0          5m39s
   prometheus-operator-prometheus-node-exporter-44fpz        1/1     Running   0          5m39s
   prometheus-operator-prometheus-node-exporter-cdl4g        1/1     Running   0          5m39s
   prometheus-operator-prometheus-node-exporter-fvvqq        1/1     Running   0          5m39s
   prometheus-operator-prometheus-node-exporter-gv5lq        1/1     Running   0          5m39s
   prometheus-operator-prometheus-node-exporter-lj6qb        1/1     Running   0          5m39s
   prometheus-operator-prometheus-node-exporter-tblbz        1/1     Running   0          5m39s
   prometheus-prometheus-operator-kube-p-prometheus-0        2/2     Running   1          5m33s
   ```

## Next step

* [icon: check-square-o, set=fa][Install third-party software](sw.html)

* [icon: check-square-o, set=fa][Set up an Azure subscription](subscription.html)

* [icon: check-square-o, set=fa][Get the forgeops repository](forgeops.html)

* [icon: check-square-o, set=fa][Create a Kubernetes cluster](cluster.html)

* [icon: check-square-o, set=fa][Install the Secret Agent operator](secret-agent.html)

* [icon: check-square-o, set=fa][Deploy the Ingress-NGINX controller](nginx.html)

* [icon: check-square-o, set=fa][Deploy certificate manager](cert-manager.html)

* [icon: check-square-o, set=fa][Deploy Prometheus, Grafana, and Alertmanager](#)

* [icon: square-o, set=fa]*[Prepare to push Docker images](push.html)*
