RegisterCompactor registers the ring UI page associated with the compactor.
(c *compactor.Compactor)
| 421 | |
| 422 | // RegisterCompactor registers the ring UI page associated with the compactor. |
| 423 | func (a *API) RegisterCompactor(c *compactor.Compactor) { |
| 424 | a.indexPage.AddLink(SectionAdminEndpoints, "/compactor/ring", "Compactor Ring Status") |
| 425 | a.RegisterRoute("/compactor/ring", http.HandlerFunc(c.RingHandler), false, "GET", "POST") |
| 426 | } |
| 427 | |
| 428 | type Distributor interface { |
| 429 | querier.Distributor |
no test coverage detected