文件操作 - graphite.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/netdata/exporting/graphite/graphite.h
编辑文件内容
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef NETDATA_EXPORTING_GRAPHITE_H #define NETDATA_EXPORTING_GRAPHITE_H #include "exporting/exporting_engine.h" int init_graphite_instance(struct instance *instance); void sanitize_graphite_label_value(char *dst, char *src, size_t len); int format_host_labels_graphite_plaintext(struct instance *instance, RRDHOST *host); int format_dimension_collected_graphite_plaintext(struct instance *instance, RRDDIM *rd); int format_dimension_stored_graphite_plaintext(struct instance *instance, RRDDIM *rd); #endif //NETDATA_EXPORTING_GRAPHITE_H
修改文件时间
将文件时间修改为当前时间的前一年
删除文件