Disk Usage Monitoring

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 磁盘使用率监控

| username: hanson

【TiDB Usage Environment】Production Environment
【TiDB Version】v4.0.12
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
May I ask where I can see the disk storage usage rate in the host monitoring? I didn’t see the corresponding module on Grafana. Recently, the root directory space usage of the computing node reached 100%, causing the computing node to go offline.
【Resource Configuration】Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachments: Screenshots/Logs/Monitoring】

| username: TiDBer_QYr0vohO | Original post link

When deploying a TiDB cluster, there are Prometheus, Grafana, and Node Exporter. Node Exporter is mainly responsible for collecting monitoring metrics related to host resources. Prometheus pulls the metrics data exposed by Node Exporter for storage. You only need to import the host-related template in Grafana (using that Prometheus as the data source) to get the monitoring charts.

  1. Click import in Grafana
  2. Click load, select the data source, and click import
| username: Kongdom | Original post link

Is it this interface?

| username: hughzm | Original post link

You can use the built-in alerting feature of Grafana.

| username: TiDBer_q2eTrp5h | Original post link

Get Grafana Done in Minutes (Illustrated Guide) - CSDN Blog

| username: 啦啦啦啦啦 | Original post link

There are alerts in Prometheus. Maybe the alert notifications are not configured.

| username: juecong | Original post link

You can also directly monitor the disk space of your host.

| username: 小于同学 | Original post link

It can be monitored directly.