Browse Source

Merge pull request #992 from prometheus/term-docs

Storage: Tell users how to avoid crash recovery.
pull/993/head
Fabian Reinartz 9 years ago
parent
commit
4ee88017f3
  1. 1
      storage/local/crashrecovery.go

1
storage/local/crashrecovery.go

@ -37,6 +37,7 @@ import (
func (p *persistence) recoverFromCrash(fingerprintToSeries map[clientmodel.Fingerprint]*memorySeries) error {
// TODO(beorn): We need proper tests for the crash recovery.
log.Warn("Starting crash recovery. Prometheus is inoperational until complete.")
log.Warn("To avoid crash recovery in future, shutdown Prometheus with SIGTERM or a HTTP POST to /-/quit.")
fpsSeen := map[clientmodel.Fingerprint]struct{}{}
count := 0

Loading…
Cancel
Save