/tidb_data/prometheus-9090/docdb 占用大量空间,如何清理

ng-monitoring 主要是 topsql 和 continuous profiling 两个 feature;topsql 默认超出1个月的数据会回收,这个暂时没办法配置;continuous profiling 可以配置,默认是3天:
占用空间相对更大的是 continuous profiling,可以删除 docdb 来缓解(另外 6.1 版本 conprof 默认是开启的,如果删除 docdb 会将开关重置回默认值,如果想关掉 conprof 来节约磁盘空间,删除 docdb 后记得检查 dashboard 确保开关关闭)