[9.1] [APM] Remove the java agent auto-attacher from the APM onbarding (#249043)#249281
Merged
jennypavlova merged 1 commit intoelastic:9.1from Jan 15, 2026
Merged
Conversation
…stic#249043) Closes elastic#248894 ## Summary This PR removes the Java agent auto-attacher from the APM onboarding. The Java agent "Auto-Attachment" tab is no longer visible in the Fleet APM integration UI. All related runtime attachment components and code have been removed. The onboarding now only shows manual instrumentation steps for all agents. ## Changes: - Files Deleted: entire `runtime_attachment/` directory + unused translations: - Changed to use PackagePolicyEditExtensionComponentProps for proper Fleet integration typing - Extracts `apmServerUrl` and `secretToken` from `newPolicy` and passes them to child components - Fixed the key prop to use ${agentName}-${variantId} for uniqueness ## How to test - I am creating a cloud deployment with this PR and we should be able to test there - @jackshirazi Could you please verify if everything still works on the agent side with those changes - [x] Tested on cloud ✅ Tested using the PR cloud deployment: - Go to APM -> Fleet -> Agent policies -> Elastic Cloud agent policy -> Edit integration (Edit Elastic APM integration) - The Java auto-attacher tab is not present ✅ <img width="1913" height="1010" alt="image" src="https://github.com/user-attachments/assets/2bf9d0ad-ecc2-44b9-b6b9-fc3eeac9d068" /> - [x] Tested with Java agent (if needed ❓) (cherry picked from commit da35df4) # Conflicts: # x-pack/platform/plugins/private/translations/translations/de-DE.json # x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx # x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx # x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx
Contributor
|
Pinging @elastic/obs-presentation-team (Team:obs-presentation) |
2 tasks
maryam-saeidi
approved these changes
Jan 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.1:Questions ?
Please refer to the Backport tool documentation