diff --git a/cmd/jaeger/config-elasticsearch.yaml b/cmd/jaeger/config-elasticsearch.yaml index aa6669232e5..2f1663a030c 100644 --- a/cmd/jaeger/config-elasticsearch.yaml +++ b/cmd/jaeger/config-elasticsearch.yaml @@ -32,9 +32,6 @@ extensions: backends: some_storage: elasticsearch: - rollover: - enabled: true - frequency: "168h" indices: index_prefix: "jaeger-main" spans: diff --git a/plugin/storage/es/factory_test.go b/plugin/storage/es/factory_test.go index 8e251c3427a..6ec1b4f5845 100644 --- a/plugin/storage/es/factory_test.go +++ b/plugin/storage/es/factory_test.go @@ -297,19 +297,8 @@ func TestConfigurationValidation(t *testing.T) { wantErr: false, }, { - name: "missing servers", - cfg: escfg.Configuration{ - Rollover: escfg.Rollover{ - Enabled: true, - }, - }, - wantErr: true, - }, - { - name: "missing rollover config", - cfg: escfg.Configuration{ - Servers: []string{"http://localhost:9200"}, - }, + name: "missing servers", + cfg: escfg.Configuration{}, wantErr: true, }, }