-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for ES index aliases / rollover to the dependency store
* Give DependencyStore a params struct like the SpanStore to carry its configuration parameters * Adapt and extend the tests accordingly Signed-off-by: Christian Rohmann <[email protected]>
- Loading branch information
1 parent
7643031
commit 1803960
Showing
7 changed files
with
164 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
plugin/storage/es/mappings/fixtures/jaeger-dependencies-7.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
{ | ||
"index_patterns": "*jaeger-dependencies-*", | ||
"aliases": { | ||
"test-jaeger-dependencies-read" : {} | ||
}, | ||
"settings":{ | ||
"index.number_of_shards": 3, | ||
"index.number_of_replicas": 3, | ||
"index.mapping.nested_fields.limit":50, | ||
"index.requests.cache.enable":true | ||
,"lifecycle": { | ||
"name": "jaeger-test-policy", | ||
"rollover_alias": "test-jaeger-dependencies-write" | ||
} | ||
}, | ||
"mappings":{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
{ | ||
"index_patterns": "*jaeger-dependencies-*", | ||
{{- if .UseILM }} | ||
"aliases": { | ||
"{{ .IndexPrefix }}jaeger-dependencies-read" : {} | ||
}, | ||
{{- end }} | ||
"settings":{ | ||
"index.number_of_shards": {{ .Shards }}, | ||
"index.number_of_replicas": {{ .Replicas }}, | ||
"index.mapping.nested_fields.limit":50, | ||
"index.requests.cache.enable":true | ||
{{- if .UseILM }} | ||
,"lifecycle": { | ||
"name": "{{ .ILMPolicyName }}", | ||
"rollover_alias": "{{ .IndexPrefix }}jaeger-dependencies-write" | ||
} | ||
{{- end }} | ||
}, | ||
"mappings":{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters