文件操作 - graphite.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/netdata/backends/graphite/graphite.h
编辑文件内容
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef NETDATA_BACKEND_GRAPHITE_H #define NETDATA_BACKEND_GRAPHITE_H #include "backends/backends.h" extern int backends_format_dimension_collected_graphite_plaintext( BUFFER *b // the buffer to write data to , const char *prefix // the prefix to use , RRDHOST *host // the host this chart comes from , const char *hostname // the hostname (to override host->hostname) , RRDSET *st // the chart , RRDDIM *rd // the dimension , time_t after // the start timestamp , time_t before // the end timestamp , BACKEND_OPTIONS backend_options // BACKEND_SOURCE_* bitmap ); extern int backends_format_dimension_stored_graphite_plaintext( BUFFER *b // the buffer to write data to , const char *prefix // the prefix to use , RRDHOST *host // the host this chart comes from , const char *hostname // the hostname (to override host->hostname) , RRDSET *st // the chart , RRDDIM *rd // the dimension , time_t after // the start timestamp , time_t before // the end timestamp , BACKEND_OPTIONS backend_options // BACKEND_SOURCE_* bitmap ); extern int process_graphite_response(BUFFER *b); #endif //NETDATA_BACKEND_GRAPHITE_H
修改文件时间
将文件时间修改为当前时间的前一年
删除文件