文件操作 - opentsdb.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/netdata/exporting/opentsdb/opentsdb.h
编辑文件内容
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef NETDATA_EXPORTING_OPENTSDB_H #define NETDATA_EXPORTING_OPENTSDB_H #include "exporting/exporting_engine.h" int init_opentsdb_telnet_instance(struct instance *instance); int init_opentsdb_http_instance(struct instance *instance); void sanitize_opentsdb_label_value(char *dst, char *src, size_t len); int format_host_labels_opentsdb_telnet(struct instance *instance, RRDHOST *host); int format_host_labels_opentsdb_http(struct instance *instance, RRDHOST *host); int format_dimension_collected_opentsdb_telnet(struct instance *instance, RRDDIM *rd); int format_dimension_stored_opentsdb_telnet(struct instance *instance, RRDDIM *rd); int format_dimension_collected_opentsdb_http(struct instance *instance, RRDDIM *rd); int format_dimension_stored_opentsdb_http(struct instance *instance, RRDDIM *rd); #ifdef ENABLE_HTTPS struct opentsdb_specific_data { SSL *conn; //SSL connection int flags; //The flags for SSL connection }; #endif #endif //NETDATA_EXPORTING_OPENTSDB_H
修改文件时间
将文件时间修改为当前时间的前一年
删除文件