wildfly 配置 pinpoint

wildfly版本10,pinpoint版本1.8.4

set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.logmanager,com.navercorp.pinpoint.bootstrap,com.navercorp.pinpoint.common,com.navercorp.pinpoint.exception"

set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager"

set "JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:D:/soft/wildfly-10.0.0.Final2/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.3.Final.jar"

set "JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:D:/soft/wildfly-10.0.0.Final2/modules/system/layers/base/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.1.2.Final.jar"

--此处修改jar包的路径   “D:/soft/wildfly-10.0.0.Final2”

 

 

set "JAVA_OPTS=%JAVA_OPTS% -javaagent:D:/soft/wildfly-10.0.0.Final2/pinpoint-agent-1.8.4/pinpoint-bootstrap-1.8.4.jar"

set "JAVA_OPTS=%JAVA_OPTS% -Dpinpoint.agentId=wiki-192.168.10.204"     --Dpinpoint.agentId此处为应用编码+ip,长度不能超过24

set "JAVA_OPTS=%JAVA_OPTS% -Dpinpoint.applicationName=wiki"        --此处为应用编码

wildfly 配置 pinpoint_第1张图片

在wildfly运行参数中添加上述参数,

linux下修改bin下的standalone.conf

windows下修改standalone.conf.bat

 

 

你可能感兴趣的:(wildfly 配置 pinpoint)