RegisterRing registers the ring UI page associated with the distributor for writes.
(r *ring.Ring)
| 404 | |
| 405 | // RegisterRing registers the ring UI page associated with the distributor for writes. |
| 406 | func (a *API) RegisterRing(r *ring.Ring) { |
| 407 | a.indexPage.AddLink(SectionAdminEndpoints, "/ingester/ring", "Ingester Ring Status") |
| 408 | a.RegisterRoute("/ingester/ring", r, false, "GET", "POST") |
| 409 | |
| 410 | // Legacy Route |
| 411 | a.RegisterRoute("/ring", r, false, "GET", "POST") |
| 412 | } |
| 413 | |
| 414 | // RegisterStoreGateway registers the ring UI page associated with the store-gateway. |
| 415 | func (a *API) RegisterStoreGateway(s *storegateway.StoreGateway) { |
no test coverage detected