diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-06-10 16:53:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 16:53:14 +0300 |
commit | 7d46fbd479707b308099c7afdc8a793e05eaf442 (patch) | |
tree | db31a3c8f449759ee1c1da9776a04102f8012fd9 /exporting | |
parent | 53b0cfb48d413852bd0f74ac057de01527dd1dcb (diff) |
Fix remote write HTTP header (#9302)
Diffstat (limited to 'exporting')
-rw-r--r-- | exporting/prometheus/remote_write/remote_write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exporting/prometheus/remote_write/remote_write.c b/exporting/prometheus/remote_write/remote_write.c index 4b6a7ba8ed..54d7a560e4 100644 --- a/exporting/prometheus/remote_write/remote_write.c +++ b/exporting/prometheus/remote_write/remote_write.c @@ -35,6 +35,7 @@ int prometheus_remote_write_send_header(int *sock, struct instance *instance) "POST %s HTTP/1.1\r\n" "Host: %s\r\n" "Accept: */*\r\n" + "X-Prometheus-Remote-Write-Version: 0.1.0\r\n" "Content-Length: %zu\r\n" "Content-Type: application/x-www-form-urlencoded\r\n\r\n", connector_specific_config->remote_write_path, |