What is Prometheus Node Vlog?

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

Original topic: promtheus节点vlog是什么

| username: TiDB_C罗

[TiDB Usage Environment] Production Environment
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
There are many xxxx.vlog files in the tidb-data/prometheus-9090/docdb directory, each file is 1.1G. If all are deleted, they will increment from 00001; if partially deleted, they will increment based on the largest value. If deleted without restarting Prometheus, disk space is not freed. What generates these files and how to control their quantity?

| username: ealam_小羽 | Original post link

Looking at this, it should take effect after a restart. This part of the data should be monitoring data. Consider limiting the retention time of Prometheus, for example, only keeping one month, and it should decrease.

Reference: NgMonitoring 无法启动问题 - #2,来自 spc_monkey - TiDB 的问答社区

| username: redgame | Original post link

Modify the Prometheus configuration file prometheus.yml, storage.tsdb.max-block-size parameter

| username: TiDB_C罗 | Original post link

In the dashboard, click on Advanced Debugging → Continuous Profiling → Settings → Enable Feature to gray it out, and no more vlogs will be generated.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.