prometheus/cmd/prometheus
Brian Brazil 68e8b80ffe
Reorder startup and shutdown to prevent panics. (#4321)
Start rule manager only after tsdb and config is loaded.
Stop rule manager before tsdb to avoid writing to closed storage.
Wait for any in-progress reloads to complete before shutting
down rule manager, so that rule manager doesn't get updated after
being shut down.

Remove incorrect comment around shutting down query enginge.
Log when config reload is completed.

Fixes #4133
Fixes #4262

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-07-04 13:41:16 +01:00
..
fdlimits_default.go Log file descriptor limits at startup (#3567) 2017-12-11 13:01:53 +00:00
fdlimits_windows.go Log file descriptor limits at startup (#3567) 2017-12-11 13:01:53 +00:00
main.go Reorder startup and shutdown to prevent panics. (#4321) 2018-07-04 13:41:16 +01:00
main_test.go return error exit status in prometheus cli (#4296) 2018-06-21 08:32:26 +01:00
uname_default.go Print system information (uname) at Prometheus startup (#2709) 2017-05-13 20:42:29 +02:00
uname_linux.go Fix malformed uname string (#2727) 2017-05-16 18:44:11 +02:00
uname_linux_int8.go Fix malformed uname string (#2727) 2017-05-16 18:44:11 +02:00
uname_linux_uint8.go Fix malformed uname string (#2727) 2017-05-16 18:44:11 +02:00