Skip to content

Commit

Permalink
Remove * prefix from template patterns
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Nov 23, 2023
1 parent 9296a55 commit 8f9f5c6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"priority": 502,
"index_patterns": "*jaeger-dependencies-*",
"index_patterns": "test-jaeger-dependencies-*",
"template": {
"aliases": {
"test-jaeger-dependencies-read": {}
Expand Down
2 changes: 1 addition & 1 deletion plugin/storage/es/mappings/fixtures/jaeger-service-8.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"priority": 501,
"index_patterns": "*test-jaeger-service-*",
"index_patterns": "test-jaeger-service-*",
"template": {
"aliases": {
"test-jaeger-service-read": {}
Expand Down
3 changes: 1 addition & 2 deletions plugin/storage/es/mappings/fixtures/jaeger-span-8.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"priority": 500,
"index_patterns": "*test-jaeger-span-*",
"index_patterns": "test-jaeger-span-*",
"template": {
"aliases": {
"test-jaeger-span-read": {}
Expand Down Expand Up @@ -165,4 +165,3 @@
}
}
}

2 changes: 1 addition & 1 deletion plugin/storage/es/mappings/jaeger-dependencies-8.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"priority": {{ .PriorityDependenciesTemplate }},
"index_patterns": "*jaeger-dependencies-*",
"index_patterns": "{{ .IndexPrefix }}jaeger-dependencies-*",
"template": {
{{- if .UseILM }}
"aliases": {
Expand Down
2 changes: 1 addition & 1 deletion plugin/storage/es/mappings/jaeger-service-8.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"priority": {{ .PriorityServiceTemplate}},
"index_patterns": "*{{ .IndexPrefix }}jaeger-service-*",
"index_patterns": "{{ .IndexPrefix }}jaeger-service-*",
"template": {
{{- if .UseILM }}
"aliases": {
Expand Down
5 changes: 2 additions & 3 deletions plugin/storage/es/mappings/jaeger-span-8.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"priority": {{ .PrioritySpanTemplate}},
"index_patterns": "*{{ .IndexPrefix }}jaeger-span-*",
"index_patterns": "{{ .IndexPrefix }}jaeger-span-*",
"template": {

{{- if .UseILM}}
"aliases": {
"{{ .IndexPrefix }}jaeger-span-read": {}
Expand Down Expand Up @@ -170,4 +170,3 @@
}
}
}

0 comments on commit 8f9f5c6

Please sign in to comment.