diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-11-05 19:08:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 19:08:17 +0200 |
commit | 943ee2482b16a81afd54b426f4fb0952f99c48e7 (patch) | |
tree | 5603b2bbd3cba974f665699a2b132256b2dfe912 /exporting/json/json.h | |
parent | edd6d02dec1c65593acb9d7b98dbb3f594d58c3a (diff) |
Add HTTP and HTTPS support to the simple exporting connector (#9911)
Diffstat (limited to 'exporting/json/json.h')
-rw-r--r-- | exporting/json/json.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/exporting/json/json.h b/exporting/json/json.h index f4d3756631..d916263a9b 100644 --- a/exporting/json/json.h +++ b/exporting/json/json.h @@ -6,10 +6,16 @@ #include "exporting/exporting_engine.h" int init_json_instance(struct instance *instance); +int init_json_http_instance(struct instance *instance); int format_host_labels_json_plaintext(struct instance *instance, RRDHOST *host); int format_dimension_collected_json_plaintext(struct instance *instance, RRDDIM *rd); int format_dimension_stored_json_plaintext(struct instance *instance, RRDDIM *rd); +int open_batch_json_http(struct instance *instance); +int close_batch_json_http(struct instance *instance); + +void json_http_prepare_header(struct instance *instance); + #endif //NETDATA_EXPORTING_JSON_H |