MCPcopy Index your code
hub / github.com/cortexproject/cortex / initDistributor

Method initDistributor

pkg/cortex/modules.go:281–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279}
280
281func (t *Cortex) initDistributor() (serv services.Service, err error) {
282 t.API.RegisterDistributor(t.Distributor, t.Cfg.Distributor, t.OverridesConfig, prometheus.DefaultRegisterer)
283
284 return nil, nil
285}
286
287// initQueryable instantiates the queryable and promQL engine used to service queries to
288// Cortex. It also registers the API endpoints associated with those two services.

Callers

nothing calls this directly

Calls 1

RegisterDistributorMethod · 0.80

Tested by

no test coverage detected