How to parse a parameter through JVM arguments?
search cancel

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:

  1. Using ENV variables from deployment. Replace "." with "_" and prefix "apmenv"
    1. apmenv_introscope_agent_backendpathgroup_group_default_format={path_delimited:/:0:7}
    2. apmenv_introscope_agent_urlgroup_backend_url_clamp=10
    3. These need be added in container spec "env" section
  2. Using -D java opts
    1. -Dintroscope.agent.backendpathgroup.group.default.format={path_delimited:/:0:2}
    2. -Dintroscope.agent.urlgroup.backend.url.clamp10