summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2020-08-18 16:16:24 +0300
committerGitHub <noreply@github.com>2020-08-18 16:16:24 +0300
commit7d8dac14809f1eee5b16bd971953aa1a7501ff54 (patch)
tree31d141b3d8cf1bfc95ca0a9f2c8dcb2ca6c1c0a0 /backends
parent2ceb75a1f11ff76eacc77f6474d09f029c4e3c27 (diff)
Fix HTTP header for the remote write exporting connector (#9775)
Diffstat (limited to 'backends')
-rw-r--r--backends/backends.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/backends.c b/backends/backends.c
index 6ea57fde34..34df05f26c 100644
--- a/backends/backends.c
+++ b/backends/backends.c
@@ -1073,7 +1073,7 @@ void *backends_main(void *ptr) {
"Content-Length: %zu\r\n"
"Content-Type: application/x-www-form-urlencoded\r\n\r\n",
remote_write_path,
- hostname,
+ destination,
data_size
);