You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we will migrate from apm integration package to apm-data ES plugin we will need to trigger a removal of index templates created by the integration, which by default are created with a higher priority than the one created by the ES plugin.
To ensure this steps works I run a test to verify if Kibana removes index template when upgrading an integration where installed data streams have been removed. I tested these steps:
setup a Es+Kibana stack and install apm integration package (tested with 8.15.0-SNAPSHOT but any current version should lead to same results)
check installed Index Templates
install a custom version of apm integration package where all data streams except one (traces - due to how elastic-package works is not possible to package an integration without at least 1 data stream; this is not relevant for this test but should be investigated to proceed further with the migration) have been removed
Verify if Index Templates for removed data streams have been removed.
The test showed that Index Templates are not removed. This is a blocker for #11529 as templates from the plugin would be overridden by the integration package templates.
Assets difference between packages
Assets with normal integration package:
Assets with custom integration package:
Index templates before installing custom version
Index templates after installing custom version
The text was updated successfully, but these errors were encountered:
The test showed that Index Templates are not removed. This is a blocker for #11529 as templates from the plugin would be overridden by the integration package templates.
We can unblock ourselves by increasing the priority of the templates in the apm-data plugin: #11529 (comment)
Not ideal, but I think that's likely the most expedient approach. We should still go ahead with removing the data streams from the integration package, the existing templates just won't be removed. If need be, we could add some code to Kibana to remove them for APM specifically.
When we will migrate from
apm
integration package toapm-data
ES plugin we will need to trigger a removal of index templates created by the integration, which by default are created with a higher priority than the one created by the ES plugin.To ensure this steps works I run a test to verify if Kibana removes index template when upgrading an integration where installed data streams have been removed. I tested these steps:
apm
integration package (tested with8.15.0-SNAPSHOT
but any current version should lead to same results)apm
integration package where all data streams except one (traces
- due to howelastic-package
works is not possible to package an integration without at least 1 data stream; this is not relevant for this test but should be investigated to proceed further with the migration) have been removedThe test showed that Index Templates are not removed. This is a blocker for #11529 as templates from the plugin would be overridden by the integration package templates.
Assets difference between packages
Assets with normal integration package:
Assets with custom integration package:
Index templates before installing custom version
Index templates after installing custom version
The text was updated successfully, but these errors were encountered: