diff options
author | Vladimir Kobal <vlad@prokk.net> | 2021-04-21 19:02:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 19:02:32 +0300 |
commit | 0d5781ed7c19bc49a241defeeb8273c368be0396 (patch) | |
tree | fa8c859589e74aa515a650f2800100b3ace9c151 /exporting/prometheus | |
parent | a1ce482f3e336dbabe1b12b92f6339af6a2bbbf8 (diff) |
Allow the remote write configuration have multiple destinations (#11005)
Diffstat (limited to 'exporting/prometheus')
-rw-r--r-- | exporting/prometheus/remote_write/remote_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exporting/prometheus/remote_write/remote_write.c b/exporting/prometheus/remote_write/remote_write.c index f844e3e498..986ad9f0ea 100644 --- a/exporting/prometheus/remote_write/remote_write.c +++ b/exporting/prometheus/remote_write/remote_write.c @@ -31,7 +31,7 @@ void prometheus_remote_write_prepare_header(struct instance *instance) "Content-Length: %zu\r\n" "\r\n", connector_specific_config->remote_write_path, - instance->config.destination, + simple_connector_data->connected_to, buffer_strlen(simple_connector_data->last_buffer->buffer)); } |