MCPcopy Create free account
hub / github.com/cortexproject/cortex / FlushHandler

Method FlushHandler

pkg/ingester/flush.go:15–17  ·  view source on GitHub ↗

FlushHandler triggers a flush of all in memory chunks. Mainly used for local testing.

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

13// FlushHandler triggers a flush of all in memory chunks. Mainly used for
14// local testing.
15func (i *Ingester) FlushHandler(w http.ResponseWriter, r *http.Request) {
16 i.flushHandler(w, r)
17}

Callers

nothing calls this directly

Implementers 1

Ingesterpkg/ingester/ingester.go

Calls 1

flushHandlerMethod · 0.95

Tested by

no test coverage detected