Shutting down your instance gracefully.
While Prometheus does have recovery mechanisms in the case that there is an
abrupt process failure it is recommended to use signals or interrupts for a
clean shutdown of a Prometheus instance. On Linux, this can be done by sending
theSIGTERMorSIGINTsignals to the Prometheus process. For example, you
can usekill -s
, replacing
with the signal name
and
with the Prometheus process ID. Alternatively, you can press the
interrupt character at the controlling terminal, which by default is^C(Control-C).