Преглед изворни кода

Fix service destination template file name (#133403)

* Fix service destination metrics file names

* Update resources.yaml

* Update resources.yaml

* Update docs/changelog/133403.yaml
Gergely Kalapos пре 1 месец
родитељ
комит
f220ec5868

+ 5 - 0
docs/changelog/133403.yaml

@@ -0,0 +1,5 @@
+pr: 133403
+summary: Fix service destination template file name
+area: Data streams
+type: bug
+issues: []

+ 1 - 1
x-pack/plugin/otel-data/src/main/resources/index-templates/metrics-service_destination.10m@template.yaml → x-pack/plugin/otel-data/src/main/resources/index-templates/metrics-service_destination.10m.otel@template.yaml

@@ -1,7 +1,7 @@
 ---
 version: ${xpack.oteldata.template.version}
 index_patterns: ["metrics-service_destination.10m.otel-*"]
-priority: 130
+priority: 131
 data_stream:
   hidden: true
 allow_auto_create: true

+ 1 - 1
x-pack/plugin/otel-data/src/main/resources/index-templates/metrics-service_destination.1m@template.yaml → x-pack/plugin/otel-data/src/main/resources/index-templates/metrics-service_destination.1m.otel@template.yaml

@@ -1,7 +1,7 @@
 ---
 version: ${xpack.oteldata.template.version}
 index_patterns: ["metrics-service_destination.1m.otel-*"]
-priority: 130
+priority: 131
 data_stream: {}
 allow_auto_create: true
 _meta:

+ 1 - 1
x-pack/plugin/otel-data/src/main/resources/index-templates/metrics-service_destination.60m@template.yaml → x-pack/plugin/otel-data/src/main/resources/index-templates/metrics-service_destination.60m.otel@template.yaml

@@ -1,7 +1,7 @@
 ---
 version: ${xpack.oteldata.template.version}
 index_patterns: ["metrics-service_destination.60m.otel-*"]
-priority: 130
+priority: 131
 data_stream:
   hidden: true
 allow_auto_create: true

+ 4 - 4
x-pack/plugin/otel-data/src/main/resources/resources.yaml

@@ -1,7 +1,7 @@
 # "version" holds the version of the templates and ingest pipelines installed
 # by xpack-plugin otel-data. This must be increased whenever an existing template is
 # changed, in order for it to be updated on Elasticsearch upgrade.
-version: 10
+version: 11
 
 component-templates:
   - otel@mappings
@@ -24,6 +24,6 @@ index-templates:
   - metrics-service_summary.60m.otel@template
   - metrics-service_summary.10m.otel@template
   - metrics-service_summary.1m.otel@template
-  - metrics-service_destination.60m@template
-  - metrics-service_destination.10m@template
-  - metrics-service_destination.1m@template
+  - metrics-service_destination.60m.otel@template
+  - metrics-service_destination.10m.otel@template
+  - metrics-service_destination.1m.otel@template