Configuring Grafana

  • Learn how to add Prometheus as a data source for Grafana
  • Import various sample dashboards, then learn how to build your own by exploring the Grafana Documentation

Add Grafana Data Source

Open the Grafana UI

http://<grafana-ip>:3000

Add a datasource by going to Configuration -> Data Sources.

Grafana Add Data Source

Click the “Add data source” button

Select “Prometheus”

Set the name to 프로메테우스 (note this is case-sensitive).

In the URL, enter http://<prometheus-ip>:9090, leave the rest of the defaults and click “Save & Test”.

Import Grafana Dashboards

Dashboards provide different ways of visualizing your data. Find sample dashboards for Prometheus and Grafana. Review the documentation for more information on creating your own dashboards and panels for Grafana.

Click the + sign on the left-hand side of the UI, and choose “Import”.

Copy the contents from Couchbase Queries-1581449916780.json and paste them into the textbox.

Click the “Load” button

This will populate the name of the Dashboard automatically. Since this is the first Dashboard being created, click on the Folder dropdown, and choose “–New Folder–“. Type “Couchbase” for the folder name and click “Create”.

Click the “Import” button

You should see a dashboard similar to the following:

Grafana Dashboard

Repeat this process for any other existing dashboards that you want to visualize and start creating your own custom dashboards.

데이터베이스의 확장성을 과거의 일로 남겨두세요

각 스택 추가마다 추가 비용이 발생하고 관리해야 할 항목도 더 많아집니다. 2분 안에 절약할 수 있는 금액을 추산해 보세요.