- Using Grafana to View Openim Custom Metrics and System Performance Metrics(e.g. Node exposer) and Middleware Metrics(e.g. redis exposer,mongodb exposer)
- Using Grafana to view logs collected by loki
- through the domain name set during the installation of kube-prometheus-stack chart
- through the openim-adminfront website
- open adminfront website by:https://yourdomain/openim-admin-front/
- Log in using the default username and password (admin1:admin1).
- check the follow link,then will open grafana website.
- log in grafana using the default username and password(admin:prom-operator)
- The default Prometheus data source is already configured,
so in the second step, you only need to import the openim custom dashboard to view the openim custom metrics.
- click the import button in follow picture ![../images/$&)
- copy k8s-custom.yaml content to follow section,and click load button ![../images/$&)
- select your k8s namespace ,and then you will view the openim custom metrics ![../images/$&)
- view node metrics by the default Node exposer dashboard ![../images/$&) ![../images/$&)
-
add loki datasource ![../images/$&)
- set loki datasource url= http://loki-stack:3100 ,and click save&test button ![../images/$&)
-
import log view dashboard using k8s-loki.yaml ![../images/$&)
- then you will view the logs of openimserver ![../images/$&)