pinpoint-apm / pinpoint

APM, (Application Performance Management) tool for large-scale distributed systems.
https://pinpoint-apm.gitbook.io/
Apache License 2.0
13.29k stars 3.75k forks source link

pinpoint not show events #8670

Open mehrdad2000 opened 2 years ago

mehrdad2000 commented 2 years ago

Hi, I have two appliation that deploy on jboss, app1 had web UI and when I configure pinpoint successfully show events on pinpoint UI, but app2 haven't UI, and just recieve informaion and send to database and return result. i've done below configuraion on pinpoint agent for app1 work perfectly, but for app2 nothing show on pinpoint UI, any idea?

JBOSS 7.2 Pinpoint 2.3.3

pinpoint-config

profiler.transport.grpc.collector.ip=192.168.1.10
profiler.collector.ip=192.168.1.10

profiler

profiler.transport.grpc.collector.ip=192.168.1.10
profiler.collector.ip=192.168.1.10
profiler.jboss.enable=true
profiler.jboss.traceEjb=true
profiler.include=io.*, org.*, sun.*, java.*, com.*, javax.*

MYSQL

profiler.jdbc.mysql=true
profiler.jdbc.mysql.setautocommit=true
profiler.jdbc.mysql.commit=true
profiler.jdbc.mysql.rollback=true

jboss & pingpoint agent log show everthing work successfully: 02-20 16:08:09.009 [-Executor(12-0)] INFO c.n.p.p.s.g.PingStreamContext -- PingStream-2 success:

host.xml

   <jvm-options>
        <option value="-server"/>
        <option value="-Xms10240m"/>
        <option value="-Xmx10240m"/>
        <option value="-XX:+AggressiveOpts"/>
        <option value="-XX:+UseG1GC"/>
        <option value="-XX:MetaspaceSize=256m"/>
        <option value="-XX:MaxMetaspaceSize=1024m"/>
        <option value="-Xbootclasspath/p:/use/app/jboss-eap-7.2/modules/system/layers/base/org/slf4j/impl/main/slf4j-jboss-logmanager-1.0.3.GA-redhat-2.jar"/>
        <option value="-Xbootclasspath/p:/app/app/jboss-eap-7.2/modules/system/layers/base/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.1.6.Final-redhat-00001.jar"/>
        <option value="-Xbootclasspath/p:/app/app/jboss-eap-7.2/modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.4.0.Final-redhat-1.jar"/>
        <option value="-Xbootclasspath/p:/app/app/jboss-eap-7.2/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.1.5.Final-redhat-00001.jar"/>
        <option value="-javaagent:/opt/pinpoint-agent-2.3.3/pinpoint-bootstrap-2.3.3.jar"/>
        <option value="-Dpinpoint.applicationName=MYAPP"/>
        <option value="-Dpinpoint.agentId=MYAPPID"/>
    </jvm-options>

domain.xml

    <system-properties>
        <property name="jboss.modules.system.pkgs" value="org.jboss.logmanager,com.navercorp.pinpoint.bootstrap,com.navercorp.pinpoint.common,com.navercorp.pinpoint.exception" boot-time="true"/>
        <property name="java.util.logging.manager" value="org.jboss.logmanager.LogManager"/>
    </system-properties>

Any idea? Thanks,

jaehong-kim commented 2 years ago

@mehrdad2000 Please check if agentId is duplicated.

mehrdad2000 commented 2 years ago

@jaehong-kim thanks for answer, agentids are unique. any other idea?