diff --git a/plugin/sampling/strategyprovider/static/factory.go b/plugin/sampling/strategyprovider/static/factory.go index 826f63342b3..e19935649b9 100644 --- a/plugin/sampling/strategyprovider/static/factory.go +++ b/plugin/sampling/strategyprovider/static/factory.go @@ -47,7 +47,7 @@ func (f *Factory) Initialize(_ metrics.Factory, _ storage.SamplingStoreFactory, return nil } -// CreateStrategyStore implements samplingstrategy.Factory +// CreateStrategyProvider implements samplingstrategy.Factory func (f *Factory) CreateStrategyProvider() (samplingstrategy.Provider, samplingstrategy.Aggregator, error) { s, err := NewProvider(*f.options, f.logger) if err != nil {