How can I modify a parameter from the Agent.Profile when using UMA Agent?
Any DX UMA Agent
You can parse any parameters to UMA by using environment variables.
Here is the explanation about how to perform it:
kubectl set env deployment/CHANGEME_APP_DEPLOYMENT_NAME apmenv_introscope_agent_transactiontracer_sampling_enabled=true
kubectl set env deployment/CHANGEME_APP_DEPLOYMENT_NAME apmenv_introscope_agent_transactiontracer_sampling_interval_seconds=15
kubectl set env deployment/CHANGEME_APP_DEPLOYMENT_NAME apmenv_introscope_agent_transactiontracer_sampling_perinterval_count=2
CHANGEME_APP_DEPLOYMENT_NAME is the app deployment name.
You can run "kubectl describe deployment CHANGEME_APP_DEPLOYMENT_NAME" to check the apmenv_ environment variables being added to the Environment section.
To further confirm the corresponding agent properties being updated, please check the agent logs in the application pod for messages like:
[Environment Variable ] introscope.agent.transactiontracer.sampling.enabled=true
[Environment Variable ] introscope.agent.transactiontracer.sampling.interval.seconds=15
[Environment Variable ] introscope.agent.transactiontracer.sampling.perinterval.count=2
and info message about the transaction sampling service being started:
[INFO] [IntroscopeAgent.Agent] Started transaction sampling service