[java-agent] disable java-attacher tab (#122164) (#122356)

* [java-agent] disable java-attacher tab

The apm-server doesn't have the permissions to
fork/exec the java-attacher process, so this tab
cannot currently work. Hiding it from users seems
like the prudent choice while a workaround is
discovered.

Co-authored-by: stuart nelson <stuartnelson3@gmail.com>
This commit is contained in:
Kibana Machine 2022-01-05 12:44:06 -05:00 committed by GitHub
parent 51f4ded427
commit 9b395a8a42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,8 @@ import {
createRackAgentInstructions,
} from '../../../../common/tutorial/instructions/apm_agent_instructions';
import { AgentName } from '../../../../typings/es_schemas/ui/fields/agent';
import { JavaRuntimeAttachment } from './runtime_attachment/supported_agents/java_runtime_attachment';
// TODO: Uncomment once https://github.com/elastic/beats/issues/29631 has been closed
// import { JavaRuntimeAttachment } from './runtime_attachment/supported_agents/java_runtime_attachment';
import {
NewPackagePolicy,
PackagePolicy,
@ -55,7 +56,8 @@ export const ApmAgentInstructionsMappings: Array<{
title: 'Java',
variantId: 'java',
createAgentInstructions: createJavaAgentInstructions,
AgentRuntimeAttachment: JavaRuntimeAttachment,
// TODO: Uncomment once https://github.com/elastic/beats/issues/29631 has been closed
// AgentRuntimeAttachment: JavaRuntimeAttachment,
},
{
agentName: 'rum-js',