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

Method GetAllRulesConfigs

pkg/configs/db/traced.go:67–70  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

65}
66
67func (t traced) GetAllRulesConfigs(ctx context.Context) (cfgs map[string]userconfig.VersionedRulesConfig, err error) {
68 defer func() { t.trace("GetAllRulesConfigs", cfgs, err) }()
69 return t.d.GetAllRulesConfigs(ctx)
70}
71
72func (t traced) GetRulesConfigs(ctx context.Context, since userconfig.ID) (cfgs map[string]userconfig.VersionedRulesConfig, err error) {
73 defer func() { t.trace("GetConfigs", since, cfgs, err) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
GetAllRulesConfigsMethod · 0.65

Tested by

no test coverage detected