Skip to content

Commit fe59163

Browse files
[monitoring] Add total_time.ms alias for Metricbeat monitoring (#94062)
1 parent e5649bd commit fe59163

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

x-pack/plugin/core/src/main/resources/monitoring-es-mb.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,6 +2378,10 @@
23782378
"start_time_in_millis": {
23792379
"path": "elasticsearch.index.recovery.start_time.ms",
23802380
"type": "alias"
2381+
},
2382+
"total_time_in_millis": {
2383+
"path": "elasticsearch.index.recovery.total_time.ms",
2384+
"type": "alias"
23812385
}
23822386
}
23832387
}

x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringTemplateRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public class MonitoringTemplateRegistry extends IndexTemplateRegistry {
7878
* writes monitoring data in ECS format as of 8.0. These templates define the ECS schema as well as alias fields for the old monitoring
7979
* mappings that point to the corresponding ECS fields.
8080
*/
81-
public static final int STACK_MONITORING_REGISTRY_VERSION = Version.V_8_0_0.id + 5;
81+
public static final int STACK_MONITORING_REGISTRY_VERSION = Version.V_8_0_0.id + 6;
8282
private static final String STACK_MONITORING_REGISTRY_VERSION_VARIABLE = "xpack.stack.monitoring.template.release.version";
8383
private static final String STACK_TEMPLATE_VERSION = "8";
8484
private static final String STACK_TEMPLATE_VERSION_VARIABLE = "xpack.stack.monitoring.template.version";

0 commit comments

Comments
 (0)