master
h 18 lines 659 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_EXPORTING_GRAPHITE_H
4 #define NETDATA_EXPORTING_GRAPHITE_H
5
6 #include "exporting/exporting_engine.h"
7
8 int init_graphite_instance(struct instance *instance);
9
10 void sanitize_graphite_label_value(char *dst, const char *src, size_t len);
11 int format_host_labels_graphite_plaintext(struct instance *instance, RRDHOST *host);
12
13 int format_dimension_collected_graphite_plaintext(struct instance *instance, RRDDIM *rd);
14 int format_dimension_stored_graphite_plaintext(struct instance *instance, RRDDIM *rd);
15
16 void graphite_http_prepare_header(struct instance *instance);
17
18 #endif //NETDATA_EXPORTING_GRAPHITE_H