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

Method trace

pkg/configs/db/traced.go:18–20  ·  view source on GitHub ↗
(name string, args ...any)

Source from the content-addressed store, hash-verified

16}
17
18func (t traced) trace(name string, args ...any) {
19 level.Debug(util_log.Logger).Log("msg", fmt.Sprintf("%s: %#v", name, args))
20}
21
22func (t traced) GetConfig(ctx context.Context, userID string) (cfg userconfig.View, err error) {
23 defer func() { t.trace("GetConfig", userID, cfg, err) }()

Callers 11

GetConfigMethod · 0.95
SetConfigMethod · 0.95
GetAllConfigsMethod · 0.95
GetConfigsMethod · 0.95
DeactivateConfigMethod · 0.95
RestoreConfigMethod · 0.95
CloseMethod · 0.95
GetRulesConfigMethod · 0.95
SetRulesConfigMethod · 0.95
GetAllRulesConfigsMethod · 0.95
GetRulesConfigsMethod · 0.95

Calls 1

LogMethod · 0.45

Tested by

no test coverage detected