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

Function newRuntimeConfigValidator

cmd/tempo/app/overrides_validation.go:19–23  ·  view source on GitHub ↗

newRuntimeConfigValidator validates runtime overrides

(cfg *Config)

Source from the content-addressed store, hash-verified

17
18// newRuntimeConfigValidator validates runtime overrides
19func newRuntimeConfigValidator(cfg *Config) overrides.Validator {
20 return &runtimeConfigValidator{
21 cfg: cfg,
22 }
23}
24
25func (r *runtimeConfigValidator) Validate(config *overrides.Overrides) (warnings []error, err error) {
26 if config.MetricsGenerator.GenerateNativeHistograms != "" {

Callers 2

initOverridesMethod · 0.85

Calls

no outgoing calls

Tested by 1