How to parse a parameter through JVM arguments?
book
Article ID: 385495
calendar_today
Updated On: 01-08-2025
Products
DX SaaS
Issue/Introduction
Is that possible to parse variables through the command line instead of changing manually into IntroscopeAgent.Profile?
Resolution
To pass any properties to agents, you can use below methods:
- Using ENV variables from deployment. Replace "." with "_" and prefix "apmenv"
- apmenv_introscope_agent_backendpathgroup_group_default_format={path_delimited:/:0:7}
- apmenv_introscope_agent_urlgroup_backend_url_clamp=10
- These need be added in container spec "env" section
- Using -D java opts
- -Dintroscope.agent.backendpathgroup.group.default.format={path_delimited:/:0:2}
- -Dintroscope.agent.urlgroup.backend.url.clamp10
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No