[APM] Removes the apm_oss plugin and deprecates related configs#113364
[APM] Removes the apm_oss plugin and deprecates related configs#113364ogupte merged 26 commits intoelastic:masterfrom
Conversation
1a65513 to
7483967
Compare
.../server/lib/helpers/create_es_client/create_apm_event_client/unpack_processor_events.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/server/lib/settings/apm_indices/get_apm_indices.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/server/lib/settings/apm_indices/get_apm_indices.ts
Outdated
Show resolved
Hide resolved
sorenlouv
left a comment
There was a problem hiding this comment.
I might be mistaken but it looks like we are not migrating the saved object. I think we should do that so we can remove all references of the old apm_oss names
x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx
Outdated
Show resolved
Hide resolved
|
Pinging @elastic/uptime (Team:uptime) |
⏳ Build in-progress, with failures
Failed CI StepsHistory
To update your PR or re-run it, just comment with: |
jportner
left a comment
There was a problem hiding this comment.
Security changes (modifying functional test mappings files to change apm_oss to xpack.apm) LGTM
…ck.apm.indices` namespace - removes mergeConfig function and test
src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker
Outdated
Show resolved
Hide resolved
| ] = `metrics-apm*,${mergedConfig['apm_oss.metricsIndices']}`; | ||
|
|
||
| return mergedConfig; | ||
| } |
…to match `processor.event` values
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: |
💔 Backport failed
To backport manually run: |
…tic#113364) * [APM] Removes the apm_oss plugin and deprecates related configs (elastic#108160) * removes commented lines * fixes typescript errors * performs start up migration on the saved objects mapping for apm-indices * removes all references to the deprecated apm_oss.* config paths in APM * fixes missing bundle error * fixes type error * fixes eslint error with disabled rules * fixes saved object mappings for es_archvices for tests * fixes eslint error * Updates default index values to include the more general apm-*. Fixes broken tests. * removing unused configs from the config path migration: apm_oss.indexPattern and apm_oss.fleetMode * - replaces full index configuration paths with references in the `xpack.apm.indices` namespace - removes mergeConfig function and test * fixes proxy mock object in unit test * fixes linting issues * PR feedback and failed test * changes the configs at `xpack.apm.indices.*` from plural to singular to match `processor.event` values # Conflicts: # x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/mappings.json # x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/mappings.json
) (#114873) * [APM] Removes the apm_oss plugin and deprecates related configs (#108160) * removes commented lines * fixes typescript errors * performs start up migration on the saved objects mapping for apm-indices * removes all references to the deprecated apm_oss.* config paths in APM * fixes missing bundle error * fixes type error * fixes eslint error with disabled rules * fixes saved object mappings for es_archvices for tests * fixes eslint error * Updates default index values to include the more general apm-*. Fixes broken tests. * removing unused configs from the config path migration: apm_oss.indexPattern and apm_oss.fleetMode * - replaces full index configuration paths with references in the `xpack.apm.indices` namespace - removes mergeConfig function and test * fixes proxy mock object in unit test * fixes linting issues * PR feedback and failed test * changes the configs at `xpack.apm.indices.*` from plural to singular to match `processor.event` values # Conflicts: # x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/mappings.json # x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/mappings.json
Closes #108160 and #109104.
Deletes the
apm_ossplugin and removes it as a dependency of theapmplugin. Configurations related toapm_osshave been deprecated and moved to thexpack.apm.indices*config path. The new configurations are supported in theAPMEventClientwhen targetingevents. Also updates the saved objects mapping to save the index settings where the index config names are implied to be under thexpack.apm.indices.*path. The saved object mapping for apm-indices are migrated on kibana setup.Also updates the default index configurations to target data streams at the config schema level.
Configuration changes:
apm_oss.errorIndices->xpack.apm.indices.errorapm_oss.metricsIndices->xpack.apm.indices.metricapm_oss.onboardingIndices->xpack.apm.indices.onboardingapm_oss.sourcemapIndices->xpack.apm.indices.sourcemapapm_oss.spanIndices->xpack.apm.indices.spanapm_oss.transactionIndices->xpack.apm.indices.transaction