How to add application names including blanks in OpenShift.

book

Article ID: 141860

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We are trying to have names in CA APM to include spaces, i.e. “ABC SessionService”. We’ve been having issues getting this to work in .Net and Spring Boot applications in OpenShift.

There is an application property to do so:

https://docops.ca.com/ca-apm/10-5/en/implementing-agents/java-agent/java-agent-properties#JavaAgentProperties-ApplicationNamingProperty

 

However, specifying it as an environmental variable onOpenShift is notworking:            

               introscope_agent_application_name=Application 1

Cause

Not possible to do so

Environment

Release : 10.7.0

Component : APM Agents

Resolution

Engineering believes it is not possible to work with JVM arguments value with spaces.  Try adding "introscope.agent.application.name" property update in run-ca-apm-agent.sh shell script. something under section "# update IntroscopeAgent.profile with env var config values".
The idea here is to update IntroscopeAgent.profile file before passing to JVM.