Skip to content

Commit

Permalink
[java-agent] disable java-attacher tab (#122164) (#122356)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
kibanamachine and stuartnelson3 committed Jan 5, 2022
1 parent 51f4ded commit 9b395a8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 9b395a8

Please sign in to comment.