-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] Removes the apm_oss plugin and deprecates related configs #113364
[APM] Removes the apm_oss plugin and deprecates related configs #113364
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
…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_oss
plugin and removes it as a dependency of theapm
plugin. Configurations related toapm_oss
have been deprecated and moved to thexpack.apm.indices*
config path. The new configurations are supported in theAPMEventClient
when 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.error
apm_oss.metricsIndices
->xpack.apm.indices.metric
apm_oss.onboardingIndices
->xpack.apm.indices.onboarding
apm_oss.sourcemapIndices
->xpack.apm.indices.sourcemap
apm_oss.spanIndices
->xpack.apm.indices.span
apm_oss.transactionIndices
->xpack.apm.indices.transaction