draios / draios/sysdig-cloud-scripts

How to add JVM garbage collector to sysdig agent

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
83
Forks
105
Avg merge
3h 53m
Merged PRs (30d)
1

Description

I am using IBMCloud-Kubernetes-Service/install-agent-k8s.sh. In there, I see $ADDITIONAL_CONF, however, looking at the following link, I cannot figure out how to add Basic JVM metrics that are pre-defined inside the default_beans. Please give me full syntax to install sysdig with Basic JVM metrics. (e.g. curl -sL https://raw.githubusercontent.com/draios/sysdig-cloud-scripts/master/agent_deploy/IBMCloud-Kubernetes-Service/install-agent-k8s.sh | bash -s -- -a SYSDIG_ACCESS_KEY -c COLLECTOR_ENDPOINT -t TAG_DATA -ac ‘sysdig_capture_enabled: false’ -ac '?????')

https://sysdigdocs.atlassian.net/wiki/spaces/Monitor/pages/204734661/Integrate+JMX+Metrics+from+Java+Virtual+Machines

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with IBMCloud-Kubernetes-Service/install-agent-k8s.sh and trace how $ADDITIONAL_CONF and repeated -ac arguments are assembled. Read the linked JMX metrics documentation and the script's configuration handling; done means documenting the exact syntax for enabling the predefined Basic JVM metrics during installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes, shell
Domain
cloud, devops, observability
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.