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

Method RegisterFlagsAndApplyDefaults

modules/generator/config.go:157–161  ·  view source on GitHub ↗
(prefix string, f *flag.FlagSet)

Source from the content-addressed store, hash-verified

155}
156
157func (cfg *ProcessorConfig) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet) {
158 cfg.ServiceGraphs.RegisterFlagsAndApplyDefaults(prefix, f)
159 cfg.SpanMetrics.RegisterFlagsAndApplyDefaults(prefix, f)
160 cfg.HostInfo.RegisterFlagsAndApplyDefaults(prefix, f)
161}
162
163func (cfg *ProcessorConfig) Validate() error {
164 var errs []error

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected