summaryrefslogtreecommitdiffstats
path: root/exporting/prometheus/remote_write/remote_write_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'exporting/prometheus/remote_write/remote_write_request.h')
-rw-r--r--exporting/prometheus/remote_write/remote_write_request.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/exporting/prometheus/remote_write/remote_write_request.h b/exporting/prometheus/remote_write/remote_write_request.h
index 5f242b94..b2537013 100644
--- a/exporting/prometheus/remote_write/remote_write_request.h
+++ b/exporting/prometheus/remote_write/remote_write_request.h
@@ -20,6 +20,9 @@ void add_metric(
const char *name, const char *chart, const char *family, const char *dimension,
const char *instance, const double value, const int64_t timestamp);
+void add_variable(
+ void *write_request_p, const char *name, const char *instance, const double value, const int64_t timestamp);
+
size_t get_write_request_size(void *write_request_p);
int pack_and_clear_write_request(void *write_request_p, char *buffer, size_t *size);