Skip to content

Latest commit

 

History

History
34 lines (32 loc) · 1.55 KB

user-guide.md

File metadata and controls

34 lines (32 loc) · 1.55 KB

User guide Documents

  1. Using Grafana to View Openim Custom Metrics and System Performance Metrics(e.g. Node exposer) and Middleware Metrics(e.g. redis exposer,mongodb exposer)
  2. Using Grafana to view logs collected by loki

How to Open grafana website

  1. through the domain name set during the installation of kube-prometheus-stack chart
  2. through the openim-adminfront website

How to use grafana view metrics

  1. log in grafana using the default username and password(admin:prom-operator)
  2. 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/$&)
  3. view node metrics by the default Node exposer dashboard ![../images/$&) ![../images/$&)

How to use grafana view logs

  1. add loki datasource ![../images/$&)

  2. import log view dashboard using k8s-loki.yaml ![../images/$&)

    • then you will view the logs of openimserver ![../images/$&)