Giter Club home page Giter Club logo

Comments (5)

ga-ram avatar ga-ram commented on June 18, 2024

Please also share your Pinpoint agent properties.
With pinpoint.profiler.profiles.active=local, you can see if uri stat logs are being sent as well.

from pinpoint.

ZernGin avatar ZernGin commented on June 18, 2024

Please also share your Pinpoint agent properties. With pinpoint.profiler.profiles.active=local, you can see if uri stat logs are being sent as well.

Java application configuration:
JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=umask" JAVA_OPTS="-server -Xms512m -Xmx4096m -Xss512K -XX:PermSize=328m -XX:MaxPermSize=800m" export JAVA_OPTS="$JAVA_OPTS -javaagent:/home/pinpoint/pinpoint-agent-2.5.3/pinpoint-bootstrap-2.5.3.jar -Dpinpoint.agentId=test-agent -Dpinpoint.applicationName=test -Dpinpoint.profiler.profiles.active=local -Dpinpoint.config=/home/pinpoint/pinpoint-agent-2.5.3/profiles/local/pinpoint.config"

Some core configurations of pinpoint.config:
`

GRPC or THRIFT

profiler.transport.module=GRPC

gRPC Configuration

profiler.transport.grpc.collector.ip=localhost

Thrift Configuration

profiler.collector.ip=localhost

URI Stat

profiler.uri.stat.enable=true
profiler.uri.stat.spring.webmvc.enable=true
profiler.uri.stat.spring.webmvc.useuserinput=false
profiler.uri.stat.vertx.enable=true
profiler.uri.stat.vertx.useuserinput=false
profiler.uri.stat.spring.webflux.enable=true
profiler.uri.stat.spring.webflux.useuserinput=false
profiler.uri.stat.tomcat.useuserinput=false
`

Part of pinpoint.log:
11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.include= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jvm.vendor.name= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.hbase.client.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.memcached.async=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.agent.collector.ip=${profiler.transport.grpc.collector.ip} 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.agent.sender.maxtraceevent=0 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.elasticsearch.recordESVersion=false 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.kafka.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.spring.beans.mark.error=false 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.uri.stat.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.apache.httpclient4.cookie=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jdbc.informix.commit=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jvm.stat.collect.interval=5000 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.metadata.collector.ip=${profiler.transport.grpc.collector.ip} 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.uri.stat.vertx.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.vertx.bootstrap.main=io.vertx.core.Starter 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.resin.bootstrap.main= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.activemq.client.destination.exclude= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.server.excludemethod= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.stat.sender.connect.timeout.millis=3000 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.lambda.expressions.support=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.mongo.collectjson=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jvm.stat.collect.detailed.metrics=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.tcpdatasender.client.write.timeout=3000 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.rabbitmq.client.consumer.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.reactor-netty.server.tracerequestparam=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.agent.sender.keepalive.timeout.millis=60000

from pinpoint.

ga-ram avatar ga-ram commented on June 18, 2024

It seems like agent config is correct.
Do you see any uri stat send success / fail logs on profiler?

from pinpoint.

linxiaoJVM avatar linxiaoJVM commented on June 18, 2024

try launching the web,collector using the following method:

java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-collector-starter-boot-2.5.3.jar --pinpoint.collector.type=ALL 
java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-web-starter-boot-2.5.3.jar

or run in the background
nohup java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-collector-starter-boot-2.5.3.jar --pinpoint.collector.type=ALL >/dev/null 2>&1 &
nohup java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-web-starter-boot-2.5.3.jar >/dev/null 2>&1 &

from pinpoint.

lxxxxxxk avatar lxxxxxxk commented on June 18, 2024

大佬这问题解决了吗 怎么解决的 能告知下吗感谢

from pinpoint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.