Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[E2E] Kibana monitoring: fix index pattern #5739

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

barkbay
Copy link
Contributor

@barkbay barkbay commented Jun 7, 2022

Starting with 8.3.0 Kibana metrics are stored in a datastream named .monitoring-kibana-8-mb:

{
	"data_streams": [{
		"name": ".monitoring-kibana-8-mb",
		"timestamp_field": {
			"name": "@timestamp"
		},
		"indices": [{
			"index_name": ".ds-.monitoring-kibana-8-mb-2022.06.07-000001",
			"index_uuid": "Vdhet3M4TuSGnl7VbiB2Ng"
		}],
		"generation": 1,
		"status": "GREEN",
		"template": ".monitoring-kibana-mb",
		"ilm_policy": ".monitoring-8-ilm-policy",
		"hidden": false,
		"system": false,
		"allow_custom_routing": false,
		"replicated": false
	}, {
		"name": "metricbeat-8.3.0",
		"timestamp_field": {
			"name": "@timestamp"
		},
		"indices": [{
			"index_name": ".ds-metricbeat-8.3.0-2022.06.07-000001",
			"index_uuid": "oLS2m11LQoGshCicd7YwHw"
		}],
		"generation": 1,
		"status": "GREEN",
		"template": "metricbeat-8.3.0",
		"ilm_policy": "metricbeat",
		"hidden": false,
		"system": false,
		"allow_custom_routing": false,
		"replicated": false
	}]
}

This PR fixes a flaky test on the last 8.3 snapshot release:

List of failed tests:
TestKBStackMonitoring
TestKBStackMonitoring/Check_that_documents_are_indexed_in_index_metricbeat-8.3.0*

Note that TestESStackMonitoring does not seem to be affected for now.

@barkbay barkbay force-pushed the e2e/fix-metrics-index-pattern branch from bdf036d to da06415 Compare June 7, 2022 15:44
@barkbay barkbay merged commit 5375865 into elastic:main Jun 7, 2022
@barkbay barkbay deleted the e2e/fix-metrics-index-pattern branch June 7, 2022 17:05
@barkbay barkbay added the >test Related to unit/integration/e2e tests label Jun 13, 2022
fantapsody pushed a commit to fantapsody/cloud-on-k8s that referenced this pull request Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>flaky_test >test Related to unit/integration/e2e tests v2.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants