Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Data Usage] Remove metrics from autoops response type (elastic…
…#200770) (elastic#201292) # Backport This will backport the following commits from `main` to `8.x`: - [[Data Usage] Remove metrics from autoops response type (elastic#200770)](elastic#200770) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sandra G","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T21:15:46Z","message":"[Data Usage] Remove metrics from autoops response type (elastic#200770)\n\n## Summary\r\n\r\n- Removes `metrics` from autoops response type\r\n- changes the plugin from \"private\" to \"shared\". This was changed here:\r\nhttps://github.com/elastic/pull/199302, and cause warnings in our\r\nfunctional tests due to importing types from the data_usage plugin as\r\nits not allowed for private plugins. Not sure why it was changed to be\r\nprivate vs shared.\r\n- changes dates in tests to iso strings\r\n- removes flaky test for checking system indices (we'll no longer be\r\ngetting system indices soon anyway)\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_node:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Ash <[email protected]>","sha":"8e1b0bd94a665cbeb2610a2d8dd01d8464973875","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:build-serverless-image"],"title":"[Data Usage] Remove metrics from autoops response type","number":200770,"url":"https://github.com/elastic/kibana/pull/200770","mergeCommit":{"message":"[Data Usage] Remove metrics from autoops response type (elastic#200770)\n\n## Summary\r\n\r\n- Removes `metrics` from autoops response type\r\n- changes the plugin from \"private\" to \"shared\". This was changed here:\r\nhttps://github.com/elastic/pull/199302, and cause warnings in our\r\nfunctional tests due to importing types from the data_usage plugin as\r\nits not allowed for private plugins. Not sure why it was changed to be\r\nprivate vs shared.\r\n- changes dates in tests to iso strings\r\n- removes flaky test for checking system indices (we'll no longer be\r\ngetting system indices soon anyway)\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_node:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Ash <[email protected]>","sha":"8e1b0bd94a665cbeb2610a2d8dd01d8464973875"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200770","number":200770,"mergeCommit":{"message":"[Data Usage] Remove metrics from autoops response type (elastic#200770)\n\n## Summary\r\n\r\n- Removes `metrics` from autoops response type\r\n- changes the plugin from \"private\" to \"shared\". This was changed here:\r\nhttps://github.com/elastic/pull/199302, and cause warnings in our\r\nfunctional tests due to importing types from the data_usage plugin as\r\nits not allowed for private plugins. Not sure why it was changed to be\r\nprivate vs shared.\r\n- changes dates in tests to iso strings\r\n- removes flaky test for checking system indices (we'll no longer be\r\ngetting system indices soon anyway)\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_node:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Ash <[email protected]>","sha":"8e1b0bd94a665cbeb2610a2d8dd01d8464973875"}}]}] BACKPORT--> Co-authored-by: Sandra G <[email protected]>
- Loading branch information