mirror of https://github.com/dapr/docs.git
Fix prometheus and grafana Helm references (#922)
* fix prometheus references * fix grafana
This commit is contained in:
parent
b314e1bd33
commit
0d732c896a
|
@ -16,20 +16,28 @@ description: "How to view Dapr metrics in a Grafana dashboard."
|
||||||
|
|
||||||
1. Install Grafana
|
1. Install Grafana
|
||||||
|
|
||||||
|
Add the Grafana Helm repo:
|
||||||
|
|
||||||
```bash
|
```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
|
```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
|
2. Retrieve the admin password for Grafana login
|
||||||
|
|
||||||
```bash
|
```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%
|
cj3m0OfBNx8SLzUlTx91dEECgzRlYJb60D2evof1%
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -131,9 +139,8 @@ You can find `grafana-actor-dashboard.json`, `grafana-sidecar-dashboard.json` an
|
||||||
## References
|
## References
|
||||||
|
|
||||||
* [Set up Prometheus and Grafana]({{< ref grafana.md >}})
|
* [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 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/)
|
* [Prometheus Query Language](https://prometheus.io/docs/prometheus/latest/querying/basics/)
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
|
@ -81,15 +81,16 @@ kubectl create namespace dapr-monitoring
|
||||||
2. Install Prometheus
|
2. Install Prometheus
|
||||||
|
|
||||||
```bash
|
```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 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.
|
If you are Minikube user or want to disable persistent volume for development purposes, you can disable it by using the following command.
|
||||||
|
|
||||||
```bash
|
```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
|
3. Validation
|
||||||
|
@ -114,7 +115,5 @@ dapr-prom-prometheus-server-694fd8d7c-q5d59 2/2 Running 0
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
* [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/)
|
* [Prometheus Query Language](https://prometheus.io/docs/prometheus/latest/querying/basics/)
|
||||||
|
|
Loading…
Reference in New Issue