We certainly recommend to either send a HUP signal or reload via the HTTP
API (https://prometheus.io/docs/prometheus/latest/management_api/#reload)
for reloading, rather than restarting the whole container. Depending on the
size of your Prometheus, restarting it might take some time due to proper
shutdown procedures and then replaying the write-ahead log (WAL) upon
restart, so while it's not super costly, it's still disruptive if you do it
often.

On Thu, May 14, 2020 at 12:54 PM Dmitry <[email protected]> wrote:

> Hi guys.
> I'm always reload prom configuration with reloading of prom container. Is
> it normal? Or it's better to do it through post request.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/f6074165-655e-4366-b7cd-410174bf6ef8%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/f6074165-655e-4366-b7cd-410174bf6ef8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Julius Volz
PromLabs - promlabs.com

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAObpH5wK%3Dwg7R5CQMXjHy0XSB5C-R-FddBTsSvOer_kV%3DmPG5w%40mail.gmail.com.

Reply via email to