-
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] Auto attachment for java agent beta in APM integration settings #119131
[APM] Auto attachment for java agent beta in APM integration settings #119131
Conversation
bce908a
to
4497c91
Compare
- adds workaround for extra 'elasticsearch' field on integration policy updates - updates migration package version from 7.16.0 to 8.0.0-dev4
@@ -8,7 +8,7 @@ import semverParse from 'semver/functions/parse'; | |||
|
|||
export const POLICY_ELASTIC_AGENT_ON_CLOUD = 'policy-elastic-agent-on-cloud'; | |||
|
|||
export const SUPPORTED_APM_PACKAGE_VERSION = '7.16.0'; | |||
export const SUPPORTED_APM_PACKAGE_VERSION = '8.0.0-dev4'; // TODO update to just '8.0.0' once published |
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.
once 8.0.0 is published in staging or snapshot deployments of the package-registry, this needs to be updated.
Pinging @elastic/fleet (Team:Fleet) |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
The following labels were identified as gaps in your version labels and will be added automatically:
If any of these should not be on your pull request, please manually remove them. |
…elastic#119131) * wip * wip * wip * wip * wip * wip * wip * wip * adds initial discovery rule for `include-vmargs elastic.apm.attach=true` * adds support for type descriptions * adding java_attacher_agent_version field * fixing some stuff * adding link to doc * adding internationalization * updating user description * fixing default version * setting to null when disabled * - fixes encoding and decoding discovery rules yaml - adds workaround for extra 'elasticsearch' field on integration policy updates - updates migration package version from 7.16.0 to 8.0.0-dev4 * addressing pr comments * fixing ci * fixing elements not visible while dragging * addressing PR changes * beta * adding tooltip back * addressing pr comments Co-authored-by: cauemarcondes <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…#119131) (#120691) * wip * wip * wip * wip * wip * wip * wip * wip * adds initial discovery rule for `include-vmargs elastic.apm.attach=true` * adds support for type descriptions * adding java_attacher_agent_version field * fixing some stuff * adding link to doc * adding internationalization * updating user description * fixing default version * setting to null when disabled * - fixes encoding and decoding discovery rules yaml - adds workaround for extra 'elasticsearch' field on integration policy updates - updates migration package version from 7.16.0 to 8.0.0-dev4 * addressing pr comments * fixing ci * fixing elements not visible while dragging * addressing PR changes * beta * adding tooltip back * addressing pr comments Co-authored-by: cauemarcondes <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Oliver Gupte <[email protected]> Co-authored-by: cauemarcondes <[email protected]>
Although this field is returned in the GET response, we do not allow it to be set through the policy update API, so it must be omitted first. Originally fixed in elastic#119131. Co-authored-by: ogupte <[email protected]>
Although this field is returned in the GET response, we do not allow it to be set through the policy update API, so it must be omitted first. Originally fixed in #119131. Co-authored-by: ogupte <[email protected]> Co-authored-by: ogupte <[email protected]>
…elastic#119131) * wip * wip * wip * wip * wip * wip * wip * wip * adds initial discovery rule for `include-vmargs elastic.apm.attach=true` * adds support for type descriptions * adding java_attacher_agent_version field * fixing some stuff * adding link to doc * adding internationalization * updating user description * fixing default version * setting to null when disabled * - fixes encoding and decoding discovery rules yaml - adds workaround for extra 'elasticsearch' field on integration policy updates - updates migration package version from 7.16.0 to 8.0.0-dev4 * addressing pr comments * fixing ci * fixing elements not visible while dragging * addressing PR changes * beta * adding tooltip back * addressing pr comments Co-authored-by: cauemarcondes <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Although this field is returned in the GET response, we do not allow it to be set through the policy update API, so it must be omitted first. Originally fixed in elastic#119131. Co-authored-by: ogupte <[email protected]> Co-authored-by: ogupte <[email protected]>
Although this field is returned in the GET response, we do not allow it to be set through the policy update API, so it must be omitted first. Originally fixed in #119131. Co-authored-by: ogupte <[email protected]> Co-authored-by: ogupte <[email protected]> Co-authored-by: Mark Hopkin <[email protected]>
Closes #108513.
RuntimeAttachment component can be tested in storybook:
yarn storybook apm
Remaining Tasks
java_attacher_agent_version
:This requires the pre-release version of the APM package which exist in the staging and snapshot package-registry deployments (https://epr-snapshot.elastic.co/package/apm/8.0.0-dev4/), to point to snapshot package registry in kibana, set: