...
Code Block |
---|
# inspectIT Settings
INSPECTIT_AGENT_HOME="[path-to-inspectit-agent-home]"
INSPECTIT_CONFIG_HOME="[path-to-config-folder]"
INSPECTIT_ADRESS="[IP]:[PORT]"
INSPECTIT_AGENT_NAME="[agent-name]"
INSPECTIT_JAVA_OPTS="-Xbootclasspath/p:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -javaagent:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -Dinspectit.repository=${INSPECTIT_ADRESS} -Dinspectit.agent.name=${INSPECTIT_AGENT_NAME}"
JAVA_OPTS="${INSPECTIT_JAVA_OPTS} ${JAVA_OPTS}" |
Windows
The configuration is quite simple. Only needed thing is to edit the standalone.conf.bat file (if you start with run standalone.sh start script).
Find the following line
Code Block |
---|
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman" |
...
Code Block |
---|
# inspectIT Settings
set "INSPECTIT_AGENT_HOME=[path-to-inspectit-agent-home]"
set "INSPECTIT_CONFIG_HOME=[path-to-config-folder]"
set "INSPECTIT_ADRESS=[IP]:[PORT]"
set "INSPECTIT_AGENT_NAME=[agent-name]"
set "INSPECTIT_JAVA_OPTS=-Xbootclasspath/p:%INSPECTIT_AGENT_HOME%/inspectit-agent.jar -javaagent:%INSPECTIT_AGENT_HOME%/inspectit-agent.jar -Dinspectit.repository=%INSPECTIT_ADRESS% -Dinspectit.agent.name=%INSPECTIT_AGENT_NAME%"
JAVA_OPTS="${INSPECTIT_JAVA_OPTS} ${JAVA_OPTS}" |
...