MCPcopy
hub / github.com/grafana/tempo / RegisterFlagsAndApplyDefaults

Method RegisterFlagsAndApplyDefaults

tempodb/backend/local/config.go:13–15  ·  view source on GitHub ↗
(prefix string, f *flag.FlagSet)

Source from the content-addressed store, hash-verified

11}
12
13func (cfg *Config) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet) {
14 f.StringVar(&cfg.Path, util.PrefixConfig(prefix, "local.path"), "", "path to store traces at.")
15}
16
17func (cfg *Config) PathMatches(other *Config) bool {
18 return cfg.Path == other.Path

Callers

nothing calls this directly

Calls 1

PrefixConfigFunction · 0.92

Tested by

no test coverage detected