Prometheus REMOTE_WRITE update

26 views
Skip to first unread message

Sambi Reddy

unread,
Apr 9, 2020, 10:41:30 PM4/9/20
to Prometheus Users
we have been using remote_write feature in prometheus config to export datapoints to Victoria Metrics. whenever a new metric datapoint is added to remote_write, we are do a prometheus reload for applying changes. But this is not writing metrics to Victoria unless there is prometheus restart. Is this something expected ? Do we have to do a prometheus restart for the change to get appended ? 

Julius Volz

unread,
Apr 10, 2020, 2:50:22 PM4/10/20
to Sambi Reddy, Prometheus Users
Hi,

if with "new metric endpoint" you mean adding a new remote write endpoint, then yes, this should work without restarting Prometheus. A reload via SIGHUP or the web reload handler should be sufficient (any setting in the config is reloadable without restart). Maybe there's some delay in the reconfiguration of remote write queues though, for that the logs could be interesting. If it doesn't work at all, it would be a good to file a bug report at https://github.com/prometheus/prometheus/issues/new/choose with more details.

Cheers,
Julius

On Fri, Apr 10, 2020 at 4:41 AM Sambi Reddy <sambi...@gmail.com> wrote:
we have been using remote_write feature in prometheus config to export datapoints to Victoria Metrics. whenever a new metric datapoint is added to remote_write, we are do a prometheus reload for applying changes. But this is not writing metrics to Victoria unless there is prometheus restart. Is this something expected ? Do we have to do a prometheus restart for the change to get appended ? 

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d8eef734-b135-4355-9671-103ad7f5a42b%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages