Skip to content

Commit

Permalink
[ci/es] Use default template priorities (#4962)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurishkuro authored Nov 23, 2023
1 parent 05332d7 commit dfd6f63
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions plugin/storage/integration/elasticsearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,12 @@ func (s *ESStorageIntegration) initSpanstore(allTagsAsFields, archive bool) erro
}
client := eswrapper.WrapESClient(s.client, bp, esVersion, s.v8Client)
mappingBuilder := mappings.MappingBuilder{
TemplateBuilder: estemplate.TextTemplateBuilder{},
Shards: 5,
Replicas: 1,
PrioritySpanTemplate: 500,
PriorityServiceTemplate: 501,
PriorityDependenciesTemplate: 502,
EsVersion: client.GetVersion(),
IndexPrefix: indexPrefix,
UseILM: false,
TemplateBuilder: estemplate.TextTemplateBuilder{},
Shards: 5,
Replicas: 1,
EsVersion: client.GetVersion(),
IndexPrefix: indexPrefix,
UseILM: false,
}
spanMapping, serviceMapping, err := mappingBuilder.GetSpanServiceMappings()
if err != nil {
Expand Down

0 comments on commit dfd6f63

Please sign in to comment.