diff --git a/daprdocs/content/en/operations/monitoring/grafana.md b/daprdocs/content/en/operations/monitoring/grafana.md index d1c21917f..65e6a052b 100644 --- a/daprdocs/content/en/operations/monitoring/grafana.md +++ b/daprdocs/content/en/operations/monitoring/grafana.md @@ -16,20 +16,28 @@ description: "How to view Dapr metrics in a Grafana dashboard." 1. Install Grafana + Add the Grafana Helm repo: + ```bash - helm install grafana stable/grafana -n dapr-monitoring + helm repo add grafana https://grafana.github.io/helm-charts + ``` + + Install the chart: + + ```bash + helm install grafana grafana/grafana -n dapr-monitoring ``` - If you are Minikube user or want to disable persistent volume for development purpose, you can disable it by using the following command: + If you are Minikube user or want to disable persistent volume for development purpose, you can disable it by using the following command: ```bash - helm install grafana stable/grafana -n dapr-monitoring --set persistence.enabled=false + helm install grafana grafana/grafana -n dapr-monitoring --set persistence.enabled=false ``` 2. Retrieve the admin password for Grafana login ```bash - kubectl get secret --namespace dapr-monitoring grafana -o jsonpath="{. data.admin-password}" | base64 --decode + kubectl get secret --namespace dapr-monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo cj3m0OfBNx8SLzUlTx91dEECgzRlYJb60D2evof1% ``` @@ -131,9 +139,8 @@ You can find `grafana-actor-dashboard.json`, `grafana-sidecar-dashboard.json` an ## References * [Set up Prometheus and Grafana]({{< ref grafana.md >}}) -* [Prometheus Installation](https://github.com/helm/charts/tree/master/stable/prometheus-operator) +* [Prometheus Installation](https://github.com/prometheus-community/helm-charts) * [Prometheus on Kubernetes](https://github.com/coreos/kube-prometheus) -* [Prometheus Kubernetes Operator](https://github.com/helm/charts/tree/master/stable/prometheus-operator) * [Prometheus Query Language](https://prometheus.io/docs/prometheus/latest/querying/basics/) ## Example diff --git a/daprdocs/content/en/operations/monitoring/prometheus.md b/daprdocs/content/en/operations/monitoring/prometheus.md index 3e60d02a1..0318f3235 100644 --- a/daprdocs/content/en/operations/monitoring/prometheus.md +++ b/daprdocs/content/en/operations/monitoring/prometheus.md @@ -81,15 +81,16 @@ kubectl create namespace dapr-monitoring 2. Install Prometheus ```bash -helm repo add stable https://kubernetes-charts.storage.googleapis.com +helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update -helm install dapr-prom stable/prometheus -n dapr-monitoring +helm install dapr-prom prometheus-community/prometheus -n dapr-monitoring ``` If you are Minikube user or want to disable persistent volume for development purposes, you can disable it by using the following command. ```bash -helm install dapr-prom stable/prometheus -n dapr-monitoring --set alertmanager.persistentVolume.enable=false --set pushgateway.persistentVolume.enabled=false --set server.persistentVolume.enabled=false +helm install dapr-prom prometheus-community/prometheus -n dapr-monitoring + --set alertmanager.persistentVolume.enable=false --set pushgateway.persistentVolume.enabled=false --set server.persistentVolume.enabled=false ``` 3. Validation @@ -114,7 +115,5 @@ dapr-prom-prometheus-server-694fd8d7c-q5d59 2/2 Running 0 ## References -* [Prometheus Installation](https://github.com/helm/charts/tree/master/stable/prometheus-operator) -* [Prometheus on Kubernetes](https://github.com/coreos/kube-prometheus) -* [Prometheus Kubernetes Operator](https://github.com/helm/charts/tree/master/stable/prometheus-operator) +* [Prometheus Installation](https://github.com/prometheus-community/helm-charts) * [Prometheus Query Language](https://prometheus.io/docs/prometheus/latest/querying/basics/)